I thought I read some where that I could include a NSUserDefaults file with a cocoa app. I cannot seem to find how to do that.
I know I could just create on first app launch but I dont want to do that just yet…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The User Defaults Programming Topics doc is your friend. You’ll want to
-registerDefaults:, which is going to be anNSDictionaryinstance created at runtime or loaded from a plist file in your app’s resources folder.As to not wanting to do it just yet, when did you plan to? If you’re going to register your app’s defaults at all, it’s to be done at every launch.