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 different themes. Obviously, the current
state is
easy with NSUserDefaults. But I can't figure out how to have each
"theme"
state stored in NSUserDefaults.
You can store the theme-specific data in a nested dictionary in the
defaults.
But I'm not sure if the user-defaults support in bindings knows how to
get and set nested items in keypaths.
—Jens_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com