From bf17756b13ccf3b40f500e7a5d2273182c74ba21 Mon Sep 17 00:00:00 2001 From: Aryan Ghassemi Date: Sun, 24 Nov 2013 09:37:13 -0800 Subject: [PATCH] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 5349e36..f4d851f 100644 --- a/README.md +++ b/README.md @@ -143,6 +143,7 @@ Each post has an author and the conversion class (User) doesn't have a property [inCodeMappingProvider mapFromDictionaryKey:@"dob" toPropertyKey:@"dateOfBirth" forClass:[User class]]; // Handle conversion of "author" to a "User" object +// Mapping would NOT be required if both dictionary an drpopery were named 'user' [inCodeMappingProvider mapFromDictionaryKey:@"author" toPropertyKey:@"author" withObjectType:[User class] forClass:[Comment class]]; User *user = [User objectFromDictionary:aDictionary];