Did you know…
You can persist application data using NSUserDefaults in your iPhone application? What are we referring to when we mention “persistence”? Basically, we mean that we’re going to allow your app to save data locally onto your iPhone and then later recall that saved data when your application requests that data.
Here’s the pertinent code you’ll need to familiarize self in order to use NSUserDefaults
These values are stored/recalled as key-value pairs. When you store a value using NSUserDefaults, you can recall a value even after shutting down and restarting an application.
This is one way of saving application related data, however, for data intensive applications, you may decide to offload that using sqlite or a combination of that and utilizing a backend service tier.
