• 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: Accessing NSTableView bindings' datasource
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing NSTableView bindings' datasource


  • Subject: Re: Accessing NSTableView bindings' datasource
  • From: mmalcolm crawford <email@hidden>
  • Date: Sun, 19 Mar 2006 20:47:52 -0800


On Mar 19, 2006, at 3:05 PM, Mirko Viviani wrote:

but how can I access these values if the contents is provided with 'value' tablecolumn binding? (with 10.3 and up)
If I a subclass NSTableColumn I can intercept - bind:toObject:withKeyPath:options:
and cache the object/keypath but I need a way to do it without subclassing...

On 10.3 and later, there isn't a way. infoForBinding is only available on 10.4 and later:
<http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/Objc_classic/Protocols/ NSKeyValueBindingCreation.html#//apple_ref/occ/instm/NSObject/ infoForBinding:>.


mmalc

_______________________________________________
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


References: 
 >Accessing NSTableView bindings' datasource (From: Mirko Viviani <email@hidden>)

  • Prev by Date: Re: NSString propertyList crash
  • Next by Date: Re: NSString propertyList crash
  • Previous by thread: Re: Accessing NSTableView bindings' datasource
  • Next by thread: White caret cursor, how to do it?
  • Index(es):
    • Date
    • Thread