I ran into the problem of creating Xcode8and automatic CoreData NSMangedObject.
The instrumental version is already downgraded to Xcode7.3, and entities are in manual mode / none. I added a new attribute to the entity and created a subclass NSManagedObjectover the subclass Editor-> Create NSManagedObject.
Xcode now generates Entity + CoreDataClass.h / m and Entity + CoreDataProperties.h / m files.
Does this mean that I need to change any #import (there is no problem by searching and replacing), or is there another way to get the old Entity.h and Entity.m files?
What about my existing code in Entity.m files, do I need to copy and paste it into a new Entity + CoreDataClass.m file?
In my opinion, code generation is buggy. If related to other classes, the import in the Entity + CoreDataClass.m file is incorrect. The class imports old Entity.h files ...
Maybe someone has an idea. If there is no other option, it can only be a joke from Apple ....
source
share