Binding an NSTableView's checked rows to user's preferences.
Binding an NSTableView's checked rows to user's preferences.
- Subject: Binding an NSTableView's checked rows to user's preferences.
- From: "Justin Williams" <email@hidden>
- Date: Tue, 19 Feb 2008 00:02:06 -0600
Greetings,
I'm trying to store a list of selected CalCalendars in my app's preferences,
but have a mental roadblock on how to complete it.
In my preferences window, I have a table with two columns: one with a
presently unbound NSButtonCell checkbox and another that shows calendar
titles.
The calendar title is bound to an array controller that pulls in the
calendars from the calendarstore.
I'm running into a roadblock with how to bind the checkbox column so that it
will store the checked calendars in my preferences using user defaults.
I'm thinking I need to post the the CalCalendar's uid and its selection
status to the preferences, but I'm not sure how to go about that since the
column only has one value binding.
Any suggestions would be appreciated.
-
Justin Williams
email@hidden
http://carpeaqua.com/
-
Check out PocketTweets: twitter for your iPhone <http://www.pockettweets.com
>
-
_______________________________________________
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