On windows, we use registry or .ini or xml config etc for settings that apps can pull in at run time w/o making code changes.
On Mac/Cocoa, what’re the best approaches to do that and what are the corresponding APIs?
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.
See NSUserDefaults and the User Defaults Programming Topics. NSUserDefaults stores the data as a property list in the ~/Library/Preferences directory.