- I started creating entities in the xcdatamodeld (xcdatamodel) file.
- I subclassed entities using the Create
NSManagedObject
Subclass… menu entry. - I added custom code to these subclasses.
If i want to make changes (like add/remove an attribute, a relationship) to an entity at this moment, where would i make these changes:
- at the xcdatamodeld (xcdatamodel) file,
- at my custom
NSManagedObject
subclass, - at both, the xcdatamodeld (xcdatamodel) file and my custom
NSManagedObject
subclass?
So, what is the relationship between NSManagedObject subclasses and the xcdatamodeld file?
Do i have to keep those two elements in sync?