By default, when you create an NSManagedObject subclass file from a data model, Core Data creates NSString (non-atomic, saved) properties for row type columns. I could be done for performance reasons, however, I am implementing a Data Mapper template where the main data of NSManagedObject subclasses is separated from the model classes. Therefore, when converting model classes to a subclass of NDS data, NSManagedObject only stores the pointer, not the copy. From an architectural point of view, it slows down the logical separation between access to master data and model classes, so I need to use a copy instead of saving.
Is this the only way to do this manually to change properties in subclasses of NSManagedObject?
source
share