• 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: a few Core Data questions: Predicates and document based app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >a few Core Data questions: Predicates and document based app (From: Michael B Johnson <email@hidden>)
 >Re: a few Core Data questions: Predicates and document based app (From: mmalc Crawford <email@hidden>)
 >Re: a few Core Data questions: Predicates and document based app (From: Michael B Johnson <email@hidden>)

  • Prev by Date: Re: does this crash make sense to anyone?
  • Next by Date: Re: does this crash make sense to anyone?
  • Previous by thread: Re: a few Core Data questions: Predicates and document based app
  • Next by thread: Enabling add button
  • Index(es):
    • Date
    • Thread