Skip to content

axldyb/DDDKeychainWrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DDDKeychainWrapper

CI Status Version License Platform

Usage

Storing your sensitive data in the keychain can take up a lot of time and effort. It should be easy to just drop something in there and retrive it with a few simple lines of code. DDDKeychainWrapper offers this simplicity and here is how we do it:

	// Writing to the Keychain
	[DDDKeychainWrapper setString:@"Secret string" forKey:@"my_key"];
    
    // Reading from the Keychain
    NSString *secretString = [DDDKeychainWrapper stringForKey:@"my_key"];

DDDKeychainWrapper has support for the following types

  • NSString
  • NSDate
  • NSData
  • NSArray
  • NSDictionary
  • NSNumber
  • BOOL
  • Objects (Must confirm to NSCoding)

A method for wiping the keychain data inserted via the wrapper exists as well.

Installation

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

pod "DDDKeychainWrapper"

Author

axldyb, aksel.dybdal@shortcut.no

License

© 2014 Aksel Dybdal DDDKeychainWrapper is available under the MIT license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published