• 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: Returning all the records for a parent object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData: Returning all the records for a parent object


  • Subject: CoreData: Returning all the records for a parent object
  • From: Chris Schmitt <email@hidden>
  • Date: Mon, 28 Jan 2008 17:14:21 -0500

I have a core data model where an entity "group" is linked back to itself to allow groups to have sub groups..

Example:

Group A
   - Group B
   - Group C
Group D

Then I have a NSArrayController controller linked to retrieve detail records for each group. This is all working well. How do I retrieve all the detail records when the user clicks on the parent group.. Meaning if the user clicks on Group A I want the NSArrayController to be populated with all the detail records for A, B and C.

Thanks in advance.

_______________________________________________

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


  • Prev by Date: Re: Subclassing NSTextFieldCell
  • Next by Date: Re: Responding To Screen Saver/Sleep Events
  • Previous by thread: Re: NSTextField value binding and button click
  • Next by thread: Drag and Drop Focus problem....
  • Index(es):
    • Date
    • Thread