DDDKeychainWrapper 1.0.0

DDDKeychainWrapper 1.0.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Aksel Dybdal.



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

Author

axldyb, [email protected]

License

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