Re: Core Data Conundrum
Re: Core Data Conundrum
- Subject: Re: Core Data Conundrum
- From: Kyle Sluder <email@hidden>
- Date: Sat, 12 Dec 2009 16:58:45 -0800
On Sat, Dec 12, 2009 at 4:30 PM, Rick Mann <email@hidden> wrote:
> Hi. I'm trying to set up a model for a Node and a Segment. A Segment exists between Nodes. Each Segment has a node1 and node2 attribute, and each Node can have multiple Segments. I don't seem to be able to model this relationship; I can have either node1 with an inverse of segments, or node 2, but not both.
Segment:
head ->> Node
tail ->> Node
Node:
segHeads ->> Segment
segTails ->> Segment
This keeps your directionality.
--Kyle Sluder
_______________________________________________
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