change a lot, the structure will be stable this time
This commit is contained in:
parent
8e997cc868
commit
36bf40741c
14 changed files with 579 additions and 208 deletions
20
pass/DefaultKeys.swift
Normal file
20
pass/DefaultKeys.swift
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
//
|
||||
// DefaultKeys.swift
|
||||
// pass
|
||||
//
|
||||
// Created by Mingshen Sun on 21/1/2017.
|
||||
// Copyright © 2017 Bob Sun. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import SwiftyUserDefaults
|
||||
|
||||
extension DefaultsKeys {
|
||||
static let pgpKeyURL = DefaultsKey<URL?>("pgpKeyURL")
|
||||
|
||||
static let pgpKeyPassphrase = DefaultsKey<String>("pgpKeyPassphrase")
|
||||
static let pgpKeyID = DefaultsKey<String>("pgpKeyID")
|
||||
static let pgpKeyUserID = DefaultsKey<String>("pgpKeyUserID")
|
||||
|
||||
static let gitRepositoryURL = DefaultsKey<URL?>("gitRepositoryURL")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue