RKObjectAttributeMapping Class Reference
Inherits from | NSObject |
Conforms to | NSCopying |
Declared in | RKObjectAttributeMapping.h RKObjectAttributeMapping.m |
Tasks
Other Methods
-
+ mappingFromKeyPath:toKeyPath:
Defines a mapping from one keyPath to another within an object mapping
-
– isMappingForKeyOfNestedDictionary
Returns YES if this attribute mapping targets the key of a nested dictionary.
Other Methods
Instance Methods
initWithSourceKeyPath:andDestinationKeyPath:
@private
- (id)initWithSourceKeyPath:(NSString *)sourceKeyPath andDestinationKeyPath:(NSString *)destinationKeyPath
Declared In
RKObjectAttributeMapping.m
isMappingForKeyOfNestedDictionary
Returns YES if this attribute mapping targets the key of a nested dictionary.
- (BOOL)isMappingForKeyOfNestedDictionary
Return Value
YES if this attribute mapping targets a nesting key path
Discussion
When an object mapping is configured to target mapping of nested content via [RKObjectMapping mapKeyOfNestedDictionaryToAttribute:], a special attribute mapping is defined that targets the key of the nested dictionary rather than a value within in. This method will return YES if this attribute mapping is configured in such a way.
Declared In
RKObjectAttributeMapping.h