Skip to content

Instantly share code, notes, and snippets.

@shyam-habarakada
Created August 29, 2011 21:55
Show Gist options
  • Save shyam-habarakada/1179518 to your computer and use it in GitHub Desktop.
Save shyam-habarakada/1179518 to your computer and use it in GitHub Desktop.
apx-restkit-mapping-problem
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