I have an app with CoreData written in obj-c and created a new VC in Swift. I want to create a new "Location" in my swift VC and "Location" is a managedObject in obj-c. I have Location.h in my bridging header.
let newLocation = Location()
error:
CoreData: error: Failed to call designated initializer on NSManagedObject class 'Location'
-[Location setLocation:]: unrecognized selector sent to instance 0x7fa5928a4880