• 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: Francis Derive <email@hidden>
  • Date: Wed, 6 Jun 2007 20:28:35 +0200


On Jun 6, 2007, at 6:47 PM, Keary Suska wrote:

Keary,

So many thanks for your prompt input.
Does msgTag respond to -viewMsg: ? No ! Not at all.

OK - revisiting the definition of "doubleClickTarget" make msgTag quite silly.
What respond to "msgView:" is the MessageCenterController : NSArrayController - where the method viewMsg:(id) sender is defined.



I have the intuition that doubleClickArgument binding makes sense : Bind to: NewMessages (NSArrayController). Controller key : selectionIndex. Model Key Path : <optional>

But I can't make any intuition from this doubleClickTarget binding :
Bind to : ?
Controller Key: ?
Model Key Path : File's Owner (MessageCenterController) ? HORRIBLE and NON-SENSE !



File's Owner does answer to viewMsg:
But how could it be a "Model Key path ? I do not find any solution - trying all the combination I can make with the controllers I have in my nib.
There is no object which can be get (or set) by a "Model Key Path" able to answer to msgView:
The only object which can do this is an instance of the nib File's Owner - that is the NSArrayController "MessageCenterController". Simple - isn't it ?


By the way, it is a waste and absurdity to have this treasure from Apple, and their letting us without any common sense of the use of **bindings with examples***. The doc should have these examples attached to each UI element ***for each*** binding. We have only to learn "à tâtons" - "gropingly" in the common language - and I am tired of it.

I thank you again, with my best wishes.

Francis



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:
40mac.com


This email sent to email@hidden

_______________________________________________

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


References: 
 >Re: NSTableView 's Action Invocation Bindings (From: Keary Suska <email@hidden>)

  • Prev by Date: Problem with Bluetooth API
  • Next by Date: Re: NSNotification
  • Previous by thread: Re: NSTableView 's Action Invocation Bindings
  • Next by thread: Problem with Bluetooth API
  • Index(es):
    • Date
    • Thread