I did a core-data model:
class Order: NSManagedObject {
... //code
}
but when I try to build I get an error:
'Order' is ambiguous for type lookup in this context
so I figured - the Entity 'Order' should be defined in the core data properties panel.
open core data .xcdatamodeld file
select the Entity 'Order'
On the right select "Current Product Module" under module
select "Category/Extension" under Codegen