• 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
CoreData to-many relationship, and "first row selected" issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: CoreData to-many relationship, and "first row selected" issue
  • From: zeno <email@hidden>
  • Date: Wed, 17 Aug 2005 09:49:12 +0200

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: CoreData to-many relationship, and "first row selected" issue
      • From: Bill Cheeseman <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>)

  • Prev by Date: Setting view contents...
  • Next by Date: Re: Core Data SQL store looses data that XML store does not
  • Previous by thread: Re: Core Data and multiple NIBs: how to share the managedObjectContext?
  • Next by thread: Re: CoreData to-many relationship, and "first row selected" issue
  • Index(es):
    • Date
    • Thread