supermarin / ObjectiveRecord

ActiveRecord-like API for CoreData
MIT License
1.29k stars 194 forks source link

Nested objects won't get mapped #97

Open dzenbot opened 10 years ago

dzenbot commented 10 years ago

Does ObjectiveRecord have NSKeyValueCoding support, for using valueForKeyPath instead of objectForKey?

I want to avoid to have an entity for each nested objects in the payload. This is a map example of what I have, but can't make it work. Any thoughts?

+ (NSDictionary *)mappings {
    return @{
             @"icons.image_48": @"image48"
             @"icons.image_64": @"image64"
             };
}