TestsTested | ✓ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Dec 2016 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Daniel Tomlinson.
A simple Swift 2.0 Keychain Wrapper for iOS, watchOS 2, and OS X.
A proper example of how to use Latch can be seen in the tests.
import Latch
let latch = Latch(service: "co.rocketapps.latch.example")
latch.setObject("super_secret_token", forKey: "FBAccessToken")
let token = latch.stringForKey("FBAccessToken")
print(token)
You can find full documentation for Latch here, or use the inline documentation.
Latch can be installed using CocoaPods, Carthage, or git submodules.
$ git submodule add https://github.com/DanToml/Latch.git
$ git submodule update --init --recursive
Issues and feature requests are welcome, although the intention is to keep Latch lightweight.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)