• 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 fetched property: one-to-one-to-many relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData fetched property: one-to-one-to-many relationship


  • Subject: CoreData fetched property: one-to-one-to-many relationship
  • From: James Gregurich <email@hidden>
  • Date: Sun, 03 Aug 2008 09:49:13 -0700

greetings!


I'm trying to figure out how to dynamically (in code) set up a fetched property with a Coredata in-memory store. The documentation is not detailed enough for me to quite see what the correct way to set the code up is and I'm not finding much in the way of useful sample code when searching on NSFetchedPropertyDescription.



suppose I have 3 enties:

"box" which has a property  "storyMapId"

"map" which has properties "mapId" and "storyId"

"story" which has property "storyId2"


box.storyMapId has a 1-1 relationship with map.mapId map.storyId has a 1-many relationship with story.storyId2


What is the correct way to programmatically add a fetched property to the box to get the list of stories for a given box managed object?




thanks,
James Gregurich
Engineering Manager
Markzware




_______________________________________________

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 fetched property: one-to-one-to-many relationship
      • From: Omar Qazi <email@hidden>
  • Prev by Date: Re: Some crash.
  • Next by Date: Re: CoreData fetched property: one-to-one-to-many relationship
  • Previous by thread: Re: NSDate to month, year etc.
  • Next by thread: Re: CoreData fetched property: one-to-one-to-many relationship
  • Index(es):
    • Date
    • Thread