I have the following NSManagedObject
in swift:
import Foundation
import CoreData
public class User: NSManagedObject {
@NSManaged public var fi
I got the solution here:
Swift: Breakpoint in CoreData library
Basically I had to put @objc(User)
right above managed object code. So as per below:
@objc(User)
public class User: NSManagedObject {
@NSManaged public var first_name: String
@NSManaged public var last_name: String
}
This solved the problem. Case closed.