Re: Listening for changes in a table

2008-09-21 Thread Chris Idou
s wrong somehow? Can I get the bindings to listen to changes to values.files without having to proxy it through my own methods? --- On Thu, 9/18/08, Chris Idou <[EMAIL PROTECTED]> wrote: > From: Chris Idou <[EMAIL PROTECTED]> > Subject: Re: Listening for changes in a tab

Re: Listening for changes in a table

2008-09-18 Thread Chris Idou
--- On Thu, 9/18/08, Ken Thomases <[EMAIL PROTECTED]> wrote: > Two possibilities: > > * If you used a custom class rather than a dictionary, then > there > would be a setter of your own design called when the > property is set > due to a change in the checkbox. Yes I could do that, but giv

Re: Listening for changes in a table

2008-09-18 Thread I. Savant
Yes I can put an action on the ButtonCell, but this doesn't tell me which record in the array the clicked cell relates to. Why does everybody forget about / ignore ? http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSTableDataSource_Protocol/Reference/Refer

Re: Listening for changes in a table

2008-09-18 Thread Ken Thomases
On Sep 18, 2008, at 7:43 PM, Chris Idou wrote: Well I do have the checkbox bound to the controller. It is bound to one of the attributes in the array of mutable dictionaries contained within my NSArrayController. But I don't see how this lets me get control to do something when someone cl

Re: Listening for changes in a table

2008-09-18 Thread Chris Idou
n the ButtonCell, but this doesn't tell me which record in the array the clicked cell relates to. --- On Wed, 9/17/08, Kyle Sluder <[EMAIL PROTECTED]> wrote: > From: Kyle Sluder <[EMAIL PROTECTED]> > Subject: Re: Listening for changes in a table > To: [EMAIL PROTECTED]

Re: Listening for changes in a table

2008-09-17 Thread Kyle Sluder
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