Re: "theme" sets with NSUserDefaults

2010-05-04 Thread John Stoneham
On Tue, May 4, 2010 at 10:07 AM, James Bucanek wrote: > I think what you're trying to do is create a set of nested pref values that > can get swapped out, while accessing the current set using bindings. > > The approach I'd take is to organize all of the theme-related settings into > a single dict

Re: "theme" sets with NSUserDefaults

2010-05-04 Thread James Bucanek
John Stoneham wrote (Monday, May 3, 2010 6:59 AM -0500): Here's the scenario. In my (OS X) app's preferences, I'd like the user to be able select between sets of preference settings, and I'd like to be able to use NSUserDefaults for this without having to deal

Re: "theme" sets with NSUserDefaults

2010-05-03 Thread Jens Alfke
On May 3, 2010, at 6:59 AM, John Stoneham wrote: Here's an example to illustrate the idea. On the preferences page there is a combo box, where the user can pick a "theme" or enter the name of a new theme. The settings for the theme are some check buttons which have different states for the

"theme" sets with NSUserDefaults

2010-05-03 Thread John Stoneham
Here's the scenario. In my (OS X) app's preferences, I'd like the user to be able select between sets of preference settings, and I'd like to be able to use NSUserDefaults for this without having to deal with extra plists. Here's an example to illustrate the idea. On the preferences page there is