Skip to content

dagostini/DAKeychain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DAKeychain

Version License Platform

Description

Simple iOS keychain wrapper. This wrapper is meant to be used as a dictionary to store strings (passwords, tokens and other sensitive data).

You can read more about this wrapper on my blog: http://agostini.tech/2017/03/06/creating-a-simple-keychain-wrapper/

Usage

DAKeychain.shared["key"] = "confidential data" // Store

let value = DAKeychain.shared["key"] // Fetch

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

DAKeychain is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "DAKeychain"

Author

Dejan Agostini, [email protected]

License

DAKeychain is available under the MIT license. See the LICENSE file for more info.