Saving simple data using NSUserDefaults
For the persistence of user settings and other small bits of data, the iOS framework provides the NSUserDefaults class.
In this example, we are saving the default difficulty level for our game.
For the persistence of user settings and other small bits of data, the iOS framework provides the NSUserDefaults class.
In this example, we are saving the default difficulty level for our game.
Use the form below to search the site:
Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!
A few highly recommended friends...