views:

117

answers:

1

I am using mogenerator.I am getting CoreData error as follows:

Failed to call designated initializer on NSManagedObject class 'ClassName'.

Anybody please help me to solve this error.

+1  A: 

You need to show the associated code before anyone can assist. Otherwise we are just guessing.

Show how you are initializing ClassName.

Marcus S. Zarra
Thanks.Previous time i was using ClassName *dataObj = [[ClassName alloc] init]; dataObj = ....retrival code.... . Now am using ClassName *dataObj = ..retrival code.. When i removed [[ClassName alloc] init],all worked.
Sijo