• 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 Core Data problem after upgrade
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Strange Core Data problem after upgrade (From: Rui Pacheco <email@hidden>)

  • Prev by Date: Re: app delegate +initialize
  • Next by Date: NSAlert - multiple key equivalents for buttons?
  • Previous by thread: Re: Strange Core Data problem after upgrade
  • Next by thread: Re: Strange Core Data problem after upgrade
  • Index(es):
    • Date
    • Thread