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

Re: CoreData and 3 level Master/Detail tableView


  • Subject: Re: CoreData and 3 level Master/Detail tableView
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 21 Dec 2011 18:51:00 -0800

On 2011 Dec 20, at 09:57, email@hidden wrote:

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

I think maybe you need another array controller or two.  Generally, one array controller for each table.

In the detail array controller, bind the "Content" to the master array controller, with Controller Key = 'selection' and Model Key path = 'foo2'.

In a typical detail table…

For the first column, bind the "Content" to masterArrayController with Controller Key = 'selection' and Model Key path = 'foo2'.

For other columns, bind the "Value" to the detailArrayController with Controller Key = 'arrangedObject' and Model Key path = 'foo3'.

Might not fit your case exactly, but that's what I see in one of my projects that works.

_______________________________________________

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

References: 
 >CoreData and 3 level Master/Detail tableView (From: email@hidden)

  • Prev by Date: Re: NSString looses Umlaute
  • Next by Date: Re: Why would a working -[NSInvocation invoke] call NSBeep() ?
  • Previous by thread: CoreData and 3 level Master/Detail tableView
  • Next by thread: Carousel - like control for Mac OS
  • Index(es):
    • Date
    • Thread