Re: Core data model - binding question
Re: Core data model - binding question
- Subject: Re: Core data model - binding question
- From: John Timmer <email@hidden>
- Date: Tue, 13 Sep 2005 22:03:59 -0400
If I understand this correctly, you should bind the array controller to
selection.passages, and then bind the interface element to the book.whatever
(name maybe?) key. If that doesn't do it, it would be helpful to know what
was logged when the app crashed.
JT
> I am trying to build an iTunes-like browser interface: first column
> selection determines the values displayed in the second column, etc.
> This is easily accomplished through the use of the contentSet binding
> of the NSArrayController. The controller is hooked up to a core data
> model; to select the passages of a book I logically bind the passages
> NSArrayController to the selection.book of the book NSArray controller.
> Now I have a slight problem. My core data model is Books <--->>
> Passage <<--->>Topic. The iTunes-like table set follows a different
> order: topic - book -passage. Now I cannot really use the contentSet
> binding, for ther is no "direct" relationship between books and
> topics... Is there a smart way to solve this problem? I tried to bind
> the book contentSet to the passages array controller with
> selection.passages.book key, but the app crashed...
> Thanks a lot in advance,
> Davide
_______________________________________________
This mind intentionally left blank
_______________________________________________
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