Re: Wherefore art thou, o NSTableView?
Re: Wherefore art thou, o NSTableView?
- Subject: Re: Wherefore art thou, o NSTableView?
- From: Daniel Richman <email@hidden>
- Date: Sun, 22 Jun 2008 07:58:36 -0700
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@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden