• 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: "Marcus S. Zarra" <email@hidden>
  • Date: Fri, 15 Jun 2007 08:58:50 -0700

I am sure that mmalc can point you to the exact documentation but the
basic answer is no, they would not all be loaded at once.
Relationships are loaded lazily via faults. So the object you are
working with would be in memory and the others would be loaded as they
are touched.

Marcus S. Zarra
Zarra Studios LLC
Simply Elegant Software for OS X
www.zarrastudios.com

On 6/15/07, Mike Burns <email@hidden> wrote:
I believe that in my situation north would be the inverse of south,
etc.  But that leads me to another question -- if all these scene
entities pointed to other scene entities in various directions, then
hypothetically every scene in my program would be connected to each
other.  Let's say there are a thousand scenes.  Does this mean that
loading one of them from the persistent store would load all of them
in to memory?  Or would they just be loaded as the current scene
referenced them?

My other option is to store the scene name pointed to by north/south
etc. rather than the scene entity and then fetch that scene using the
name as the player tries to enter it.  I was concerned that this
might be too slow (scenes can contain a good amount of colored
graphical elements and text, and it is possible that they may be
moved to rapidly).  Any thoughts?


_______________________________________________

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

_______________________________________________

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


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>)
 >Re: Core Data Beginner Question (From: mmalc Crawford <email@hidden>)
 >Re: Core Data Beginner Question (From: Mike Burns <email@hidden>)

  • Prev by Date: Re: Fetch request problem with core data relationship and NSTableView
  • Next by Date: RE: Fetch request problem with core data relationship and NSTableView
  • Previous by thread: Re: Core Data Beginner Question
  • Next by thread: Re: Core Data Beginner Question
  • Index(es):
    • Date
    • Thread