mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-28 20:55:32 +08:00
One more typo.
This commit is contained in:
@@ -579,7 +579,7 @@ RKObjectMapping* mapping = [RKObjectMapping mappingForClass:[User class]];
|
||||
mapping.forceCollectionMapping = YES;
|
||||
[mapping mapKeyOfNestedDictionaryToAttribute:@"username"];
|
||||
[mapping mapFromKeyPath:@"(username).email" toAttribute:"email"];
|
||||
[mapping mapFromKeyPath:@"(username).favoriteAnimal" toAttribute:"favoriteAnimal"];
|
||||
[mapping mapFromKeyPath:@"(username).favorite_animal" toAttribute:"favoriteAnimal"];
|
||||
```
|
||||
### Dynamic Object Mapping
|
||||
|
||||
|
||||
Reference in New Issue
Block a user