Re: Reflexive Many-to-Many in Core Data?
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