This code is deprecated
INKeychainAccess is deprecated and will not be maintained anymore. You should not use this code going forward. My official recommended alternative is SSKeychain by Sam Soffes, which is also an iOS/OS X Keychain wrapper but is far better in many areas like error handling.
INKeychainAccess
INKeychainAccess
is a simple Objective-C wrapper around Keychain Services on both Mac OS X and iOS. This code maintains a consistent API across both platforms.
Note: This code has only been extensively tested on the Mac. If you find any issues with it please open an issue.
Adding INKeychainAccess to your project
- Link against
Security.framework
. - Add the
INKeychainAccess
source code files!
Who am I?
I'm Indragie Karunaratne, a 16 year old Mac OS X and iOS Developer from Edmonton AB, Canada. Visit my website to check out my work, or to get in touch with me. (follow me on Twitter!)
Licensing
INKeychainAccess
is licensed under the BSD license.