Open Source: iOS Keychain Wrapper For Easily Securing User Data For Your App

Not too long ago I mentioned a tutorial on using the iOS keychain to store usernames and passwords.

I received a submission earlier this week about an excellent open source project that very easily allows you to secure user data using the iOS keychain.  The project acts as a drop-in replacement for NSUserDefaults, and you simply replace your calls to NSUserDefaults, and NSUserDefaultsController to the wrapper.  Just some minor changes required.

Here’s what the developer Carl Brown of PDAgent had to say about the project:

I wrote a set of classes for OSX and iOS that implement accessing the Secure Keychain as if it was NSUserDefaults.  That way, developers who want to secure their App’s data, and who already know how to use NSUserDefaults (which I hope they all do), should be able to do so with a minimum of confusion.

It’s on github, and I’m releasing it under the MIT license.  Hopefully it will lower the barrier to people using the Keychain correctly.

You can find the Github project here:
https://github.com/carlbrown/PDKeychainBindingsController

Included within the project is an iOS example demonstrating how easy it is to use.  A definite time-saver if you want to secure user data using the keychain.

Thanks for the submission Carl!

Learn how to program an iOS app using Objective-C right from the start with The iOS Apprentice series. A set of epic tutorials for anyone - even if you've never programmed before.
Read more...
DeliciousTwitterFacebookLinkedInEmail

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can send a Tweet to @maniacdev on Twitter or submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Click on a tab to select how you'd like to leave your comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>