Re: a few Core Data questions: Predicates and document based app
Re: a few Core Data questions: Predicates and document based app
- Subject: Re: a few Core Data questions: Predicates and document based app
- From: Quincey Morris <email@hidden>
- Date: Thu, 18 Dec 2008 11:49:12 -0800
On Dec 18, 2008, at 11:18, Michael B Johnson wrote:
I guess that's my question, though. Why is that a bad thing, to
have three relationships from on entity all pointing to another
entity, which is only pointing to the other entity once?
It's not a *bad* thing, but the model editor won't let you do it. (If
relationships A and B both have C as their inverse, what is C's
inverse?)
If the size of the objects is not an issue, it's probably easiest to
go ahead and have 3 pairs of relationships. The 2 "unnecessary"
inverses then just become housekeeping that Core Data takes care of
(that you otherwise forget about).
_______________________________________________
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