• 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: Core Data modelling question re: OutlineEdit example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data modelling question re: OutlineEdit example


  • Subject: Re: Core Data modelling question re: OutlineEdit example
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 10 Oct 2007 14:46:41 -0400

> Why is the "priority" relationship represented visually with a
> connecting line between the Note and Priority entities, but there
> isn't one for children and parents?

  ??? Are you referencing an illustration you tried to attach? If so,
it didn't make it. :-) I don't think attachments are allowed on the
list. Do you have a URL to a shared copy?

> I'm confused because when I made a similar data model in another
> project that had a parent and children relationship, I saw connecting
> lines back to the entity, and was wondering if I was missing
> something...

  This is just a guess (since I have no idea to what you're
referring), but pehraps you haven't defined both sides of the
relationship and / or specified one as the inverse to the other.

  In other words:

Parent (children->)  <------>> (<-parent) Child

  You have to specify the "children" relationship as pointing to
(to-many) Child, then specify the "parent" relationship as pointing to
the parent. On either one of those relationships, specify the opposite
as the "Inverse" relationship.

  Hope this helps.

--
I.S.
_______________________________________________

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: Core Data modelling question re: OutlineEdit example
      • From: Michael B Johnson <email@hidden>
References: 
 >Core Data modelling question re: OutlineEdit example (From: Michael B Johnson <email@hidden>)

  • Prev by Date: Core Data modelling question re: OutlineEdit example
  • Next by Date: Re: Core Data modelling question re: OutlineEdit example
  • Previous by thread: Core Data modelling question re: OutlineEdit example
  • Next by thread: Re: Core Data modelling question re: OutlineEdit example
  • Index(es):
    • Date
    • Thread