• 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 and 3 level Master/Detail tableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData and 3 level Master/Detail tableView


  • Subject: CoreData and 3 level Master/Detail tableView
  • From: email@hidden
  • Date: Wed, 21 Dec 2011 06:57:32 +1300

I apologize in advance for subjecting the list members to another CoreData model description. To ease the pain here is a screen shot of the datamodel.

http://codemuster.co.nz/images/datamodel.jpg

The plan is to build a 10.7, document based, CoreData app that stores,sorts and displays scores from clay target events around the country. It will be used to select the national teams.

Simply put a Competition entity can have multiple Events and multiple Entries. An Entry can have multiple EventScores but may not have an EventScore for every Event. Event is also connected to eventScores.

I have a 3 level master/detail view. I am currently using 3 tableViews, the first one is bound to the competitionsArrayController arrangedObjects.name The second tableView is bound to the selectedCompetition.entries arrayController arrangedObjects.shooter.name

The third tableView has 2 tableColumns. The first tableColumn's arrayController is bound to competitionsArrayController.selection.events and displays all the event names in the first column.

How do I display the EventScores for selected Entry in the second column?

Thanks in advance

Rob
_______________________________________________

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

  • Follow-Ups:
    • Re: CoreData and 3 level Master/Detail tableView
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: CoreData and 3 level Master/Detail tableView
  • Next by Date: Carousel - like control for Mac OS
  • Previous by thread: CoreData and 3 level Master/Detail tableView
  • Next by thread: Re: CoreData and 3 level Master/Detail tableView
  • Index(es):
    • Date
    • Thread