iPhone/iPad Tutorial & Lesson 26: NSUserDefaults

iPhone SDK has a very elegant way of saving user settings in a structure called as NSUserDefaults. You can add a bunch of different objects in this UserDefaults – These are nothing but a dictionary of user settings that you will save in the app’s document folder. But beware, once you delete the app, even the user settings get deleted. So it can be useful for a bunch of different things. You can think of them as user session variables when compared to Web terminology.

In this video, I will give you a gist of how to use NSUserDefaults and how it will help you implement a bunch of things that can be useful for your mobile application.

Leave a Reply