My question is similar to this one: How to detect first time app launch on an iPhone
I do not completely understand the answer and my problem is slightly different (Int not Bool) hence why I'm asking this question.
How do I set some default values for an app, lets say I want variable a = 10 and b = 20. These would be the defaults set the very first time you downloaded and open the app, but the user would have a choice to change them. Once the settings are changed they need to stay like that, it would be very annoying for the settings to revert to default everytime you open the app. I know how to use NSUserDefault to save the changes made by the user so that the next time they open the app their settings are used. However I don't know how to set initial values that will only be set the very first time the app is opened.