Skip to content

Commit

Permalink
RKObjectMapping.inverseMappings should be RKObjectMapping * not `in…
Browse files Browse the repository at this point in the history
…stancetype`
  • Loading branch information
Adlai-Holler committed Aug 29, 2015
1 parent 51d3c49 commit a874245
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 a874245

Please sign in to comment.