• 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 Beginner Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Core Data Beginner Question
      • From: Mike Burns <email@hidden>
References: 
 >Re: Core Data Beginner Question (From: Brian Williams <email@hidden>)
 >Re: Core Data Beginner Question (From: Mike Burns <email@hidden>)
 >Re: Core Data Beginner Question (From: mmalc Crawford <email@hidden>)
 >Re: Core Data Beginner Question (From: Andrew Farmer <email@hidden>)

  • Prev by Date: Re: Drag and Drop from NSTableView to Finder
  • Next by Date: Re: Reporting Framework for Cocoa Apps
  • Previous by thread: Re: Core Data Beginner Question
  • Next by thread: Re: Core Data Beginner Question
  • Index(es):
    • Date
    • Thread