Reputation: 6357
I am having an issue using Core Data modeler. I had an issue where I needed to change the names of entities in the modeler. When I did so, I deleted the associated managed object subclasses, did a clean, then went back the modeler, highlighted the entities with the new names, then generated subclasses using
Editor > Create NSManagedObject Subclass
When I did so, the newly generated subclasses still have the original names. Am I missing something?
Upvotes: 2
Views: 1936
Reputation: 1681
Select the ENTITY you want to change
Select Data Model from right hand top corner as shown below, and change as u want. Entity name and Class no need to be the same.
Upvotes: 1
Reputation: 70956
In the model editor, you set the class name separately from the entity name. They don't have to be the same. If you only change the entity name name, what you're seeing is normal.
Upvotes: 7