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 it would be beyond the concerns of this object to deal with all that.

So what is the right way to go about this?

Sometimes the old ways are best.

Use target-action. Control drag from the cell to your controller and hook it up to an action method.

Cheers,
Ken

_______________________________________________

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 arch...@mail-archive.com

Reply via email to