Re: Strange Core Data problem after upgrade
Re: Strange Core Data problem after upgrade
- Subject: Re: Strange Core Data problem after upgrade
- From: Kyle Sluder <email@hidden>
- Date: Wed, 7 Oct 2009 10:49:28 -0700
On Wed, Oct 7, 2009 at 9:25 AM, Rui Pacheco <email@hidden> wrote:
> I am now seeing the error "Failed to call designated initialiser on
> NSManagedObject class '' " when I created an object on the MOC or when I
> fetch an object for editing. Step by step debugging showed that what seems
> to generate the error is when I display the screen that allows the user to
> interact with the data and not when I interact with the MOC in any way. This
> is code that worked just fine under 10.5.
Have you subclassed NSManagedObject and overridden
-initWithEntity:insertIntoManagedObjectContext:? If you have:
1) Do you really need to?
2) If you do, have you called super's implementation?
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden