creat new managed object using coredata

51 Views Asked by At

i'm trying to create a new object and save it to core data. even my code is correct as syntax and logic -as i've learned- ,but I can't understand why these errors occur.

Errors

1

There are 1 best solutions below

0
On BEST ANSWER

It looks like you need:

#import <CoreData/CoreData.h>

at the top of the file.