change a lot, the structure will be stable this time

This commit is contained in:
Bob Sun 2017-01-22 01:42:36 +08:00
parent 8e997cc868
commit 36bf40741c
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
14 changed files with 579 additions and 208 deletions

16
pass/Globals.swift Normal file
View file

@ -0,0 +1,16 @@
//
// Globals.swift
// pass
//
// Created by Mingshen Sun on 21/1/2017.
// Copyright © 2017 Bob Sun. All rights reserved.
//
import Foundation
class Globals {
static let shared = Globals()
let documentPath = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0];
let secringPath = "\(NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0])/secring.gpg"
private init() { }
}