On Wed, Oct 7, 2009 at 9:25 AM, Rui Pacheco <rui.pach...@gmail.com> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to