magicalpanda/MagicalRecord — Issue #149: a way to map nsdictionary keys for DataImport
Author: baron
Created: 2012-03-05 09:18:20+00:00
State: open

I was wondering if there was an easy way to map NSDictionary keys to arbitrary strings during import.

for example I have a CoreData model called "Recipe" with an attribute called "dbId" the json response is converted to a dictionary with the key called simply "id". Is there an easy way to map "dbId" to "id" for multiple keys without having to create an NSMutableDictionary to conform with the ManagedObject?