Skip to content

fthdgn/KeychainSwiftProperty

Repository files navigation

KeychainSwiftProperty

import Foundation
import KeychainSwiftProperty
import KeychainSwift

class Keychain: KeychainProvider {
    let keychain: KeychainSwift = .init(keyPrefix: "app")
    
    @KeychainSwiftProperty(key: "stringProperty")
    var stringProperty: String?
    
    @KeychainSwiftProperty(key: "dataProperty")
    var dataProperty: Data?
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages