Re: Core Data Beginner Question
Re: Core Data Beginner Question
- Subject: Re: Core Data Beginner Question
- From: mmalc Crawford <email@hidden>
- Date: Thu, 14 Jun 2007 15:06:36 -0700
On Jun 14, 2007, at 2:56 PM, Andrew Farmer wrote:
So does the inverse relationship not matter in this situation?
The inverse of 'north' is 'south' etc...
That's assuming that you're dealing with a model where that's the
case.
The OP described the following situation:
"• each scene has 4 directions - north/south/east/west - each
direction possibly pointing to another scene object"
In this case, the inverse of 'north' is 'south' etc...
If the original poster is trying to construct a game where - for
example - you may have one-way doors or mazes of twisty passages
(all alike), then the "exits to" relationship probably doesn't need
an inverse.
It's not clear that this is the case: If there is a destination, then
conceptually it has a relationship back to the origin -- there is an
inverse.
In general, you are *strongly* encouraged to model all relationships
in both directions.
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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