Clicky

iOS Dev Nugget 48 Utility Library for Keychain Access

.

Need to run a code review on your codebase? Hire me

It's not advisable to store sensitive information, especially passwords in NSUserDefaults or as plain text files. These information should be stored in the Keychain.

However, the Keychain API is a little harder to use than it should be, and several libraries have been written to wrap around it. Lockbox from Mark Granoff provides a clean API for storing and retrieving items to the Keychain. It also provides convenience methods to store other data types such as NSDate, NSArray and NSSet into the Keychain.


Your feedback is valuable: Do you want more nuggets like this?   Yes   or   No

.

.

Like this and want such iOS dev nuggets to be emailed to you, weekly?

Sign Me Up! or follow @iosdevnuggets on Twitter

.

View archives of past issues