You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
I am using swift verison pod 'FastEasyMapping', '~> 1.2'.
I am getting error :: Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<__NSCFString 0x6000001d97e0> valueForUndefinedKey:]: this class is not key value coding-compliant for the key ID
Getting exception in line FEMDeserializer.collection(fromRepresentation: arrPlanVisit, mapping: ABC.defaultmapping(), context: localContext)
class of ABC is ::
import UIKit
@objc(ABC)
class ABC: NSManagedObject {
//
@NSManaged var ID: Int64
class func defaultmapping()->FEMMapping{
let mapping = FEMMapping.init(entityName: "ABC")
mapping.addAttribute(Mapping.intAttributeFor(property: "iD", keyPath: "ID"))
return mapping
}
Response from Server ::
key : "ABC"
▿ value : 10 element
▿ 8 : 2 elements
- key : ID
- value : 1641 @dimazen any solution for this ?
The text was updated successfully, but these errors were encountered:
Hello
I am using swift verison pod 'FastEasyMapping', '~> 1.2'.
I am getting error :: Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<__NSCFString 0x6000001d97e0> valueForUndefinedKey:]: this class is not key value coding-compliant for the key ID
Getting exception in line FEMDeserializer.collection(fromRepresentation: arrPlanVisit, mapping: ABC.defaultmapping(), context: localContext)
class of ABC is ::
import UIKit
@objc(ABC)
class ABC: NSManagedObject {
//
@NSManaged var ID: Int64
class func defaultmapping()->FEMMapping{
let mapping = FEMMapping.init(entityName: "ABC")
mapping.addAttribute(Mapping.intAttributeFor(property: "iD", keyPath: "ID"))
return mapping
}
Response from Server ::
▿ value : 10 element
▿ 8 : 2 elements
- key : ID
- value : 1641
@dimazen any solution for this ?
The text was updated successfully, but these errors were encountered: