• 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: Newbie Core Data question.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Core Data question.


  • Subject: Re: Newbie Core Data question.
  • From: Matthew Lindfield Seager <email@hidden>
  • Date: Sun, 11 Oct 2009 20:27:56 +1100

Hi Gustavo,
I'm no expert but one way is for the second controller's Content Array or
Content Set to be bound to some property of the first controller's
selection.

For example if you have an entity "Foo" with a to-many relationship called
"bars" you would:
 - bind the "content set" of bars array controller
 - to "foo array controller" (or whatever it is called)
 - controller key of "selection"
 - model key path of "bars"

There are numerous Core Data tutorials that will guide you through this
process but if you haven't already I would suggest you heed the Core Data
warnings when it suggests you learn some other technologies (e.g. bindings,
KVO, KVC) first.

Matt
_______________________________________________

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: Newbie Core Data question.
      • From: Gustavo Pizano <email@hidden>
References: 
 >Newbie Core Data question. (From: Gustavo Pizano <email@hidden>)

  • Prev by Date: Newbie Core Data question.
  • Next by Date: Re: How to parse unpredictable date strings [WAS: Two digit dates with NSDateFormatter]
  • Previous by thread: Newbie Core Data question.
  • Next by thread: Re: Newbie Core Data question.
  • Index(es):
    • Date
    • Thread