• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Binding an NSTableView's checked rows to user's preferences.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Accessing buffers in NSData/NSMutableData under garbage collection
  • Next by Date: Re: Accessing buffers in NSData/NSMutableData under garbage collection
  • Previous by thread: Re: Accessing buffers in NSData/NSMutableData under garbage collection
  • Next by thread: How to set view port ???
  • Index(es):
    • Date
    • Thread