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

Accessing NSTableView bindings' datasource


  • Subject: Accessing NSTableView bindings' datasource
  • From: Mirko Viviani <email@hidden>
  • Date: Mon, 20 Mar 2006 00:05:35 +0100

Hi,

I have a custom NSTableView subclass that need to access the datasource to
precalculate a grid in -tile


Now if I use an old datasource I can obtain the values with
-tableView:objectValueForTableColumn:row: 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...


Thank you.

Ciao
Mirko

_______________________________________________
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


  • Follow-Ups:
    • Re: Accessing NSTableView bindings' datasource
      • From: mmalcolm crawford <email@hidden>
    • Re: Accessing NSTableView bindings' datasource
      • From: Greg Herlihy <email@hidden>
  • Prev by Date: Bug in NSToolbar MenuFormRepresentation?
  • Next by Date: White caret cursor, how to do it?
  • Previous by thread: Bug in NSToolbar MenuFormRepresentation?
  • Next by thread: Re: Accessing NSTableView bindings' datasource
  • Index(es):
    • Date
    • Thread