On 23 Dec 2008, at 3:19 pm, Chris Idou wrote:
Use target-action. Control drag from the cell to your
controller and hook it up to an action method.
How do I then find out which object was clicked?
any action method is declared thusly:
- (IBAction) someAction:(id) sender;
the answer to yo
On Dec 22, 2008, at 10:19 PM, Chris Idou wrote:
--- On Mon, 22/12/08, Ken Thomases wrote:
On Dec 22, 2008, at 8:19 PM, Chris Idou wrote:
I've got a NSTableView controlled by a NSArrayController using
content set binding. One of the columns is a checkbox, and I need
to take some action wh
--- On Mon, 22/12/08, Ken Thomases wrote:
> From: Ken Thomases
> Subject: Re: observeValueForKeyPath and how to do it right
> To: "Chris Idou"
> Cc: cocoa-dev@lists.apple.com
> Received: Monday, 22 December, 2008, 6:36 PM
> On Dec 22, 2008, at 8:19 PM, Chris
>
On Dec 22, 2008, at 8:19 PM, Chris Idou wrote:
I've got a NSTableView controlled by a NSArrayController using
content set binding. One of the columns is a checkbox, and I need to
take some action when the user changes the value, but I don't want
to put the code in the actual object, because
I've got a NSTableView controlled by a NSArrayController using content set
binding. One of the columns is a checkbox, and I need to take some action when
the user changes the value, but I don't want to put the code in the actual
object, because it would be beyond the concerns of this object to d