You should implement

-(void)tableView:(NSTableView *)aTableView
 setObjectValue:(id)anObject
 forTableColumn:(NSTableColumn *)aTableColumn
            row:(int)rowIndex

The table view sends this message to you when one of its cells is being edited, and then you do whatever you want with the data.

Daniel


William Squires wrote:
Okay, this one has me stumped. What delegate do I need to implement to handle user editing a cell in an NSTableView (i.e. after they edit it, and hit the <Enter> key to accept.) None of the delegate methods described in the docs seem to fit the bill, but maybe I'm just overlooking it? I've already implemented tableView:shouldEditTableColum:row to return YES.
  Or is this a case for connecting actions in IB?

_______________________________________________

Cocoa-dev mailing list ([email protected])

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/applemaillist%40mm.danielrichman.com

This email sent to [EMAIL PROTECTED]
_______________________________________________

Cocoa-dev mailing list ([email protected])

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]

Reply via email to