• 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: Core Data / Bindings problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data / Bindings problem


  • Subject: Re: Core Data / Bindings problem
  • From: mmalc crawford <email@hidden>
  • Date: Wed, 29 Aug 2007 12:03:08 -0700


On Aug 29, 2007, at 8:49 AM, Alain Schartz wrote:

I suppose the main problem resides in the fact that the entities used by the treeController ("TreeNodes") are different from the entities I want to display in my details panel ("Table"); every bindings combination I tried either resulted in "selector not recognized" or KVO error messages (or simply nothing happening at all). So my question is, how do I tell my NSObjectController to take the selection.name from NSTreeController (and thus "casting" the "TreeNode" entity to the details-pane "Table" entity) ?
Since both have a "name" attribute methinks this should somehow be feasable?


In what sense should the NSObjectController "take the selection.name from NSTreeController"?
It's not clear why you need an object controller for the selection anyway?
Why can you not simply bind the text fields to [NSTreeController].selection.attributeName?


mmalc

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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:
    • [solved] Re: Core Data / Bindings problem
      • From: Alain Schartz <email@hidden>
References: 
 >Core Data / Bindings problem (From: Alain Schartz <email@hidden>)

  • Prev by Date: Distributed Object port connections across Mach namespaces (revisited)
  • Next by Date: Re: Line Numbers in Tables
  • Previous by thread: Core Data / Bindings problem
  • Next by thread: [solved] Re: Core Data / Bindings problem
  • Index(es):
    • Date
    • Thread