Skip to content

Commit

Permalink
Merge pull request #2289 from RestKit/inverse-mapping-return-type
Browse files Browse the repository at this point in the history
Fix return type for RKObjectMapping.inverseMapping
  • Loading branch information
Adly Holler committed Aug 29, 2015
2 parents 51d3c49 + a874245 commit 856d54b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/ObjectMapping/RKObjectMapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@
@return A new mapping that will map the inverse of the receiver.
*/
- (instancetype)inverseMapping;
- (RKObjectMapping *)inverseMapping;

/**
Generates an inverse mapping with all property mappings of the receiver that pass the given test. Each `RKAttributeMapping` and `RKRelationshipMapping` added to the receiver is yielded to the block for evaluation. The block is also invoked for any nested relationships that are traversed during the inversion process.
Expand All @@ -349,7 +349,7 @@
@return A new mapping that will map the inverse of the receiver.
@see inverseMapping
*/
- (instancetype)inverseMappingWithPropertyMappingsPassingTest:(BOOL (^)(RKPropertyMapping *propertyMapping))predicate;
- (RKObjectMapping *)inverseMappingWithPropertyMappingsPassingTest:(BOOL (^)(RKPropertyMapping *propertyMapping))predicate;

///---------------------------------------------------
/// @name Obtaining Information About the Target Class
Expand Down

0 comments on commit 856d54b

Please sign in to comment.