Initial values for NSUserDefaults aka first run values

If you want initial values to NSUserDefaults, you can use registerDefaults method. Consider that the first time you access the property with some key name the value will be either nil for objects, false for booleans or 0 for numbers. So, prepare a plist file in your bundle that contains the default preferences and then use

Continue reading Initial values for NSUserDefaults aka first run values