Refactored object manager API's to de-emphasize delegates and removal duplication of blocks and delegates. Added block callbacks to RKObjectLoader.

This commit is contained in:
Blake Watters
2012-01-19 09:09:56 -05:00
parent 4bd12ea987
commit 1d27f7bbbe
12 changed files with 592 additions and 367 deletions

View File

@@ -82,9 +82,13 @@ relationship. Relationships are processed using an object mapping as well.
@property (nonatomic, readonly) NSArray* mappedKeyPaths;
/**
The root keyPath for this object. When the object mapping is being used for serialization
and a root keyPath has been defined, the serialized object will be nested under this root keyPath
before being encoded for transmission to a remote system.
The root key path for the receiver.
Root key paths are handled differently depending on the context in which the mapping is
being used. If the receiver is used for object mapping, the rootKeyPath specifies a nested
root dictionary that all attribute and relationship mappings will be considered relative to. When
the mapping is used in a serialization context, the rootKeyPath specifies that the serialized content
should be stored in a dictionary nested with the rootKeyPath as the key.
@see RKObjectSerializer
*/