In XCode 8, it was possible to partially or fully generate classes (in Swift or Objective-C) to work with CoreData. If the Codegen property is set to Manual/None , then the programmer himself creates all the classes for working with CoreData, if it is set to Class Definition , then the system itself generates these classes. And there is a third option - Category/Extension , but there is no detailed information anywhere that gives this opportunity. I can only assume that the programmer is required to create a successor from NSManagedObject , add his own methods, and the system generates all the necessary properties for working with CoreData. Is this approach the right way or do you need to work with Codegen = Category/Extension ?
|