• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTableView Binding: Action Invocation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSTableView Binding: Action Invocation
      • From: Scott Anguish <email@hidden>
  • Prev by Date: Re: Randomly shuffle my core data dataset?
  • Next by Date: Re: Distro?
  • Previous by thread: Cocoa Software Dev. Position Open - San Diego
  • Next by thread: Re: NSTableView Binding: Action Invocation
  • Index(es):
    • Date
    • Thread