• 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 entities not getting loaded into MOC when opening file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data entities not getting loaded into MOC when opening file


  • Subject: Re: Core Data entities not getting loaded into MOC when opening file
  • From: Andrew Madsen <email@hidden>
  • Date: Mon, 10 Jul 2006 18:53:02 -0600

Thanks for the reply Chris. I issue a fetch request when opening a document now, and everything works as it should.

-Andrew

On Jul 10, 2006, at 1:49 AM, Chris Hanson wrote:

Just to be clear: Do you fetch the entity whose instances (not "entities") you want to access? You need to either issue a fetch request or traverse a relationship to actually access saved instances of your entities. They are not automatically "loaded" into a context when a persistent store is added to a persistent store coordinator.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Core Data entities not getting loaded into MOC when opening file (From: Andrew Madsen <email@hidden>)
 >Re: Core Data entities not getting loaded into MOC when opening file (From: Chris Hanson <email@hidden>)

  • Prev by Date: Determining modifier key state and *end* of menu selection
  • Next by Date: Question about dealloc and NSBitmapImageRep
  • Previous by thread: Re: Core Data entities not getting loaded into MOC when opening file
  • Next by thread: NSOutputStream copy
  • Index(es):
    • Date
    • Thread