Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added inverse mapping #11 #12

Merged
merged 1 commit into from
Jan 24, 2015
Merged

Added inverse mapping #11 #12

merged 1 commit into from
Jan 24, 2015

Conversation

aryaxt
Copy link
Owner

@aryaxt aryaxt commented Jan 24, 2015

Map custom key names from object to dictionary

@aryaxt aryaxt force-pushed the AddInverseMapping branch 3 times, most recently from 58f159c to b5fa38d Compare January 24, 2015 02:57
NSString *key = [self uniqueKeyForClass:class andKey:propertyKey];
[self.inverseMappingDictionary setObject:info forKey:key];
}

- (void)setDateFormatter:(NSDateFormatter *)dateFormatter forProperty:(NSString *)property andClass:(Class)class
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add inverse date formatter, and take automaticallyGenerateInverseMapping into consideration

@aryaxt aryaxt force-pushed the AddInverseMapping branch 4 times, most recently from bd77878 to 3a66439 Compare January 24, 2015 20:27
aryaxt added a commit that referenced this pull request Jan 24, 2015
@aryaxt aryaxt merged commit a3cbf8b into master Jan 24, 2015
@aryaxt aryaxt deleted the AddInverseMapping branch January 24, 2015 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant