Re: NSTableView 's Action Invocation Bindings
Re: NSTableView 's Action Invocation Bindings
- Subject: Re: NSTableView 's Action Invocation Bindings
- From: Keary Suska <email@hidden>
- Date: Wed, 06 Jun 2007 10:47:27 -0600
- Thread-topic: NSTableView 's Action Invocation Bindings
on 6/6/07 10:23 AM, email@hidden purportedly said:
> In IB, the 1st binding looks like this :
>> doubleClickArgument -> selectionIndex[NewMessages (NSArrayController)]
>
> Should give the row index on which it has been (double)clicked.
> I wouldn't mind if it were "selection" in place of "selectionIndex" :)
> Also, here I have
>> Selector name : @selector(viewMsg:)
>
> where - (void) viewMsg:(id) sender was the initial ( with NSButton to
> click for the same action )
> - (IBAction) viewMsg:(id) sender
> implemented by the nib File's Owner.
>
>
>
> and the second :
>> doubleClickTarget --> msgTag [File's Owner (MessageCenterController)]
>
> where unsigned int msgTag is an instance variable of
> MessageCenterController.
> Don't know what it is doing there.
Does msgTag respond to -viewMsg: ? If it doesn't, then your binding here is
wrong.
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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