Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Adds keypath mapping support #98

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open

Conversation

dzenbot
Copy link

@dzenbot dzenbot commented Jun 13, 2014

By optionally returning +keyPathForRemoteKey: in any NSManagedObject subclass, it checks for a keypath related to the remote key, to be able to call -valueForKeyPath: instead of -objectForKey:

This allows keypaths mappings, for objects that don't need to be nested in CoreData but come nested from the remote payload.

It may still need:

  • caching support (to avoid having to +keyPathForRemoteKey: at every iteration)
  • skip the discarding log, when the property in class is not found
  • refactor refactor refactor

dzenbot and others added 29 commits June 13, 2014 01:11
…ct context. Exposed new methods passing a context as additional parameter.
…of deepness. Fixes supermarin#60 with error message 'to-many key not allowed here'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants