Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData to-many relationship, and "first row selected" issue



I defined two entities using the Xcode's data model design tool:
Magazine and Article. Magazine has a To-Many relationship 'articles'.
In IB I created two array controllers (one for the magazines and one
for the articles), both bound to AppDelegate/managedObjectContext.
Lastly, to actually set up the relationship, I bound Articles'
contentSet to Magazines -> selection.articles

Then I created two tableviews, the one on the left displays the
magazines name, the one on the right shows the articles titles for the
selected magazine.
It works like a charm but I have one little problem:

as soon as I select a magazine in the left table, the first article in
the right table is selected. Is it possible to avoid that?

is it a "yet another" newbie question?
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Core Data and multiple NIBs: how to share the managedObjectContext? (From: Zeno Crivelli <email@hidden>)
 >Re: Core Data and multiple NIBs: how to share the managedObjectContext? (From: zeno <email@hidden>)
 >Re: Core Data and multiple NIBs: how to share the managedObjectContext? (From: mmalcolm crawford <email@hidden>)
 >Re: Core Data and multiple NIBs: how to share the managedObjectContext? (From: zeno <email@hidden>)
 >Re: Core Data and multiple NIBs: how to share the managedObjectContext? (From: mmalcolm crawford <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.