• 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: Strange Managed Context Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange Managed Context Error


  • Subject: Re: Strange Managed Context Error
  • From: mmalcolm crawford <email@hidden>
  • Date: Sat, 20 Aug 2005 15:36:18 -0700


On Aug 20, 2005, at 3:21 PM, Colin Cornaby wrote:


On Aug 20, 2005, at 2:33 PM, mmalcolm crawford wrote:


Why have you subclassed NSManagedObjectContext? There should typically be little reason to do so.
I'm providing further abstraction, which is something that the CoreData documentation covers.

Could you please elaborate...?

How have you set up the context? Have you set its persistent store coordinator?

This is a CoreData based document, so this was all done automatically.

If you're using a subclass of NSManagedObjectContext then no, it's not done automatically. How have you configured it?

If you were messaging a freed object, your application would crash -- typically with a SIGBUS 10.

Well it's just entirely odd. It errors but obviously the NSMangedObjectModal is working and there because it does successfully find the entity type and add it. I have a table view displaying all entities of that type within the manage object context (this code is actually the code that fetches those entities for display). The view updates perfectly showing the new entity that was added.


You've reconfigured something. If you haven't done so correctly then odd behaviour is likely to occur. Please give more details about what you've actually done, otherwise it's impossible to give more help.

mmalc

_______________________________________________
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


  • Follow-Ups:
    • Re: Strange Managed Context Error
      • From: Colin Cornaby <email@hidden>
References: 
 >Strange Managed Context Error (From: Colin Cornaby <email@hidden>)
 >Re: Strange Managed Context Error (From: mmalcolm crawford <email@hidden>)
 >Re: Strange Managed Context Error (From: Colin Cornaby <email@hidden>)

  • Prev by Date: Re: Strange Managed Context Error
  • Next by Date: NSStepper + keyDown
  • Previous by thread: Re: Strange Managed Context Error
  • Next by thread: Re: Strange Managed Context Error
  • Index(es):
    • Date
    • Thread