• 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
Re: NSTableView 's Action Invocation Bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSTableView 's Action Invocation Bindings
      • From: Francis Derive <email@hidden>
References: 
 >NSTableView 's Action Invocation Bindings (From: Francis Derive <email@hidden>)

  • Prev by Date: Re: How to use bindings on a specific array element
  • Next by Date: Problem with Bluetooth API
  • Previous by thread: NSTableView 's Action Invocation Bindings
  • Next by thread: Re: NSTableView 's Action Invocation Bindings
  • Index(es):
    • Date
    • Thread