Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sonsongithub/minikeychain
Keychain library for reddift
https://github.com/sonsongithub/minikeychain
Last synced: 18 days ago
JSON representation
Keychain library for reddift
- Host: GitHub
- URL: https://github.com/sonsongithub/minikeychain
- Owner: sonsongithub
- License: other
- Created: 2016-08-17T09:39:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-03T01:42:10.000Z (over 6 years ago)
- Last Synced: 2025-01-09T09:49:18.150Z (about 1 month ago)
- Language: Swift
- Size: 56.6 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](http://cocoadocs.org/docsets/MiniKeychain)
[](http://cocoadocs.org/docsets/MiniKeychain)
[](http://cocoadocs.org/docsets/MiniKeychain)# MiniKeychain
Keychain library for [reddift](https://github.com/sonsongithub/reddift).
MiniKeychain is developed based on [KeychainAccess](https://github.com/kishikawakatsumi/KeychainAccess).# How to use
```
let keychain = MiniKeychain(service: "com.sonson.MiniKeychain")
let name = "name"
let password = "password"
if let data = password.data(using: .utf8) {
do {
try keychain.save(key: name, data: data)
} catch {
print(error)
}
}
```# License
MIT license.