Binding NSTableView Double Click argument and target to file's owner
Binding NSTableView Double Click argument and target to file's owner
- Subject: Binding NSTableView Double Click argument and target to file's owner
- From: Ken Tozier <email@hidden>
- Date: Sun, 5 Oct 2008 17:09:41 -0400
Hi
I'm trying to bind double click actions of an NSTableView to "file's
owner" and can't figure out exactly how to set them up. My file's
owner has a double click handler defined like so:
- (void) handleDoubleClick:(NSNumber *) inRowIndex;
Given that, how would I set up the bindings for both "Double Click
Target" and "Double Click Target" to bind the index of the clicked row
to the file's owner?
Double Click Argument
bind to: file's owner
model key path: ????
selector: clickedRow // trying to pass clicked row index to
handleDoubleClick
Double Click Target
bind to: file's owner
model key path: self
selector: handleDoubleClick
Thanks for any help.
_______________________________________________
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