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

Re: Core Data and NSFetchRequest


  • Subject: Re: Core Data and NSFetchRequest
  • From: Marcus Roberts <email@hidden>
  • Date: Thu, 12 May 2005 06:53:13 +0100

On 5/11/05, mmalcolm crawford <email@hidden> wrote:

> > I get
> > "+entityForName: could not locate an NSManagedObjectModel"
> >
> Either 'moc' is nil or you've created the managed object context
> without setting up its persistent store coordinator.

Thank you!  'moc' was nil - I was trying to access the managed object
context too early, as I reference it through the document, and I was
calling it in the window controller constructor, before the contrller
knew what its document was.   It just goes to show, check the simple
things first, but I have learnt alot about the managed object model in
the process anyway.   Thanks mmalc!

Marcus
 _______________________________________________
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 and NSFetchRequest (From: Marcus Roberts <email@hidden>)
 >Re: Core Data and NSFetchRequest (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: forwarding KVO from NSDocument to model
  • Next by Date: Re: How to draw keyboard focus ring around a custom control?
  • Previous by thread: Re: Core Data and NSFetchRequest
  • Next by thread: run loop problem (i think)
  • Index(es):
    • Date
    • Thread