Re: Strange Managed Context Error
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