On Wed, Sep 17, 2008 at 8:46 PM, Chris Idou <[EMAIL PROTECTED]> wrote: > I've got a NSTableView controlled by an NSArrayController, which uses an > array of NSMutableDictionaries as its controlled objects. One of the columns > is a checkbox. These dictionaries are ultimately stored in the user's > preferences. How would I get immediate notification if a user changed one of > the checkboxes? I would need to know which record (dictionary) the checkbox > referred to.
You would probably want to bind the checkbox to a property on the model object, or use the standard target/action mechanism on the NSButtonCell belonging to the table column. In other words, your question doesn't really make sense. You seem to be going at it backwards; you shouldn't be concerned at all about the table view, this is either something for the model or the controller to be taking care of. --Kyle Sluder _______________________________________________ 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 [EMAIL PROTECTED]