Quote:
Originally Posted by bigubosu
I've been looking around a little but haven't found what I'm looking for. I'm after something that will save and retrieve a integer(14 characters long) with hypens(another 2 characters) with and be able to be used throughout the app as the user navigates through different views because each view does a url request with the number in the url. So it's possible the number can be used to get messages from the users account. In my case I'm just after the password side. What I'm storing is an API-Key with just numbers.
I've come across Apple's Keychain but many say it is confusing. then i came across SFHFKeychainUtils which was much simpler to use but it requires a username and password.
Is there something I can use that will just store an API-Key and can be called application wide. Or should I just use NSUserDefaults?
|
I'd be tempted to use NSUserDefaults, nice and easy.