Re: Core Data / Bindings problem
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