Created
August 29, 2011 21:55
-
-
Save shyam-habarakada/1179518 to your computer and use it in GitHub Desktop.
apx-restkit-mapping-problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RKObjectMappingOperation for 'Patient' object. Mapping values from object { | |
patient = { | |
"date_of_birth" = "<null>"; | |
displayName = "Joe Black"; | |
"first_name" = Joe; | |
id = 2; | |
"last_name" = Black; | |
}; | |
} to object <Patient: 0x5b68b40> (entity: Patient; id: 0x5b5b080 <x-coredata:///Patient/t4790029E-BA76-4D77-869D-E6BB5A80DF853> ; data: { | |
admissiondate = nil; | |
firstname = nil; | |
id = 0; | |
lastname = nil; | |
lastsync = nil; | |
status = nil; | |
}) with object mapping RKObjectMapping class => Patient: keyPath mappings => ( | |
"RKObjectKeyPathMapping: id => id", | |
"RKObjectKeyPathMapping: first_name => firstname", | |
"RKObjectKeyPathMapping: last_name => lastname" | |
) | |
(gdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment