NSTableView Binding: Action Invocation
NSTableView Binding: Action Invocation
- Subject: NSTableView Binding: Action Invocation
- From: "Frederick C. Lee" <email@hidden>
- Date: Tue, 28 Mar 2006 11:34:12 -0800
I'm trying to attach an 'action Invocation ' to a NSTableView but I'm
confused about how to do it.
Essentially, I what to deliver the row value to the selector target
of the controller layer, that is, the Application Delegate.
So in essence: [NSTableView row] -- doubleClick ----> [process value
in appDelegate.m]
Do I use: 'double-click target' or 'double-click argument'? The doc
is a bit confusing.
I believe I should use 'double-click target'.
Scenario:
1) The NSTableColumn is bound to an NSArrayController.
2) I believe I should bind the NSTableView to the Application
Delegate where the method (selector) is located.
So my guess for the 'double-click target' parameters should be:
a) Bind to: 'Application Delegate';
b) Controller Key: 'selection'
c) Model Key Path: <optional> <-- not used.
d) Selector Name: 'ProcessDataRoutine'
But so far, I'm unsuccessful.
Regards,
Ric.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden