I’m writing an app for the iPhone that I’ve already created in Android and Blackberry and was hoping that there was an equivalent for SavedPreferences in iOS. Specifically I’m looking for the functionality to be able to create favorites on the fly. So in Android I can save a string into SavedPreferences with the identifier of “server project favorites”. Is there something similar I can do in iOS without bothering with a SQL database for simple strings?
Share
I think NSUserDefaults is what you are looking for.
Example with an array for server project favorites: