tags:

views:

732

answers:

2

can anyone please help me to solve the error

error cannot find interface declaration for 'NSManagedObject', superclass of

plz

+1  A: 

Are you missing an include statement?

Are you subclassing NSManagedObject? If so, go here in Apple's documentation and scroll to Custom Managed Object. They give you instructions to have Xcode generate class files from your data model.

A suggestion: Core Data is rather difficult, and you should be comfortable with iPhone development before you start working with it.

Ellie P.
+2  A: 

Try

#import <CoreData/CoreData.h>
Jane Sales