Re: Strange Managed Context Error
Re: Strange Managed Context Error
- Subject: Re: Strange Managed Context Error
- From: Colin Cornaby <email@hidden>
- Date: Sat, 20 Aug 2005 15:21:28 -0700
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.
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 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.
---------------------------
Colin Cornaby
ProToys - White Magic Labs - http://whitemagiclabs.com
Macintosh Specialist - University of Portland - htttp://up.edu
_______________________________________________
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