Search code examples
iosxcodensentitydescription

creat new managed object using coredata


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


Solution

  • It looks like you need:

    #import <CoreData/CoreData.h>
    

    at the top of the file.