Re: multiple profiles in preferences mechanism
Re: multiple profiles in preferences mechanism
- Subject: Re: multiple profiles in preferences mechanism
- From: Jens Alfke <email@hidden>
- Date: Sat, 13 Apr 2013 20:53:42 -0700
On Apr 13, 2013, at 7:39 AM, Nick Rogers <email@hidden> wrote:
> But the problem is I need to have profiles (or rather Presets) for preferences. Each preset would have the same set of preferences.
> I am thinking of a table view on left where presets could be added/removed and on right there would be UI controls for preferences (basically all are check boxes).
You can make a user default whose value is a dictionary of presets (i.e. mapping preset name -> dictionary of prefs for that preset). You should be able to manage that with a controller, using the appropriate key-paths.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden