• 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: Reflexive Many-to-Many in Core Data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reflexive Many-to-Many in Core Data?


  • Subject: Re: Reflexive Many-to-Many in Core Data?
  • From: Negm-Awad Amin <email@hidden>
  • Date: Wed, 3 Sep 2008 18:57:36 +0200


Am Mo,01.09.2008 um 23:16 schrieb Sam Krishna:

Is a reflexive many-to-many relationship possible in Core Data?
Why not? To try it, simply do:

Create an entity Verse.
Add two to-many relationships to Verse, say, relatedToVerses and relatedFromVerses.
Make them the inverse relationship of each other.
Build an user interface with two array controllers and table views.


Cheers,
Amin


Here's what I'm thinking:

I have a table (Verse) and it needs to have a to-many relationship back to itself. The relationship name will be crossReferences. Is this possible or will I need to come up with some contortion for Core Data.

This was fairly doable (just took some mind-bending at the EOModel level) back in the hoary old days of EOF.

TIA!

Live Playfully,

Sam

_______________________________________________

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

Amin Negm-Awad email@hidden




_______________________________________________

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: 
 >Reflexive Many-to-Many in Core Data? (From: Sam Krishna <email@hidden>)

  • Prev by Date: [Job] Macintosh Software Engineer @ NeatReceipts
  • Next by Date: NSDate autorelease problem
  • Previous by thread: Reflexive Many-to-Many in Core Data?
  • Next by thread: HFS Path To POSIX Path
  • Index(es):
    • Date
    • Thread