On Wed, Oct 28, 2009 at 12:25 PM, Gerd Knops <gerti-cocoa...@bitart.com> wrote: > Seems this should be easy: > > I have an NSTableView's "Double Click Target", "Double Click Argument", > "Double Click Argument2" etc. binding set, and they work fine. > > Now I would like to programmatically get the tableview to issue a > double-click response. Obviously "target" and "doubleAction" are not useful > in that context. > > Any ideas how to get this done?
If this is just a one-off case, the simplest solution is to invoke the method with the appropriate arguments on the target directly. If you are looking for a more general solution, you can retrieve the binding data from the table view using -infoForBinding:, valuate the target & arguments, and invoke the method that way. - Jim _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com