Best practices for handling user preferences in an iPhone MVC app?
问题 I'm developing my first iPhone app, and while implementing user preferences, I have a few questions on how to best implement this. Assume the basic MVC pattern: MainView displaying data stored in a Model object; MainViewController handling the app logic. For the options, I have an OptionsView and an OptionsViewController. A RootViewController handles swapping of the Main and Options views. First of all, what about the options data? Would I want to make an NSOjbect-derived class to store them