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
Core data model - binding question
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Core data model - binding question
Subject
:
Core data model - binding question
From: Davide Benini <
email@hidden
>
Date: Mon, 12 Sep 2005 23:22:46 +0200
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
_______________________________________________
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: Core data model - binding question
From:
John Timmer <email@hidden>
Prev by Date:
Re: 10.4 NSDateFormatter format strings
Next by Date:
RE: 10.4 NSDateFormatter format strings
Previous by thread:
Coredata and NSOutline with NSTreeController Weirdness.
Next by thread:
Re: Core data model - binding question
Index(es):
Date
Thread