In a different question I was suggested to use SSKeychain, and after searching the web it seems that SSKeychain is the preferred method for working with Keychain.
It is very hard to find code examples, and the ones there is just stores a string, which is a password.
How would you go about saving and retrieving a NSArray with SSKeychain, when you have several keys you wanna store in the keychain.
Thanks.
Have a look here: http://github.com/granoff/Lockbox. It’s a project I built to store data securely in the keychain, which has the added advantage of surviving an app being deleted and re-installed.
This is drop in class. It just works.
EDIT: Now it just works. I think something about Xcode 4.5 got more strict than when I originally developed Lockbox. Thanks to a contribution from a forked version, it is again simply a “drop and go” solution.