Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAV/Maverick -> MTL/Mantle replacement
- Loading branch information
1 parent
263acc2
commit 50b32d3
Showing
25 changed files
with
158 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,32 +1,32 @@ | |||
// | // | ||
// MAVValueTransformer.h | // MTLValueTransformer.h | ||
// Maverick | // Mantle | ||
// | // | ||
// Created by Justin Spahr-Summers on 2012-09-11. | // Created by Justin Spahr-Summers on 2012-09-11. | ||
// Copyright (c) 2012 GitHub. All rights reserved. | // Copyright (c) 2012 GitHub. All rights reserved. | ||
// | // | ||
|
|
||
#import <Foundation/Foundation.h> | #import <Foundation/Foundation.h> | ||
|
|
||
typedef id (^MAVValueTransformerBlock)(id); | typedef id (^MTLValueTransformerBlock)(id); | ||
|
|
||
// The name for a value transformer that converts strings into URLs and back. | // The name for a value transformer that converts strings into URLs and back. | ||
extern NSString * const MAVURLValueTransformerName; | extern NSString * const MTLURLValueTransformerName; | ||
|
|
||
// | // | ||
// A value transformer supporting block-based transformation. | // A value transformer supporting block-based transformation. | ||
// | // | ||
@interface MAVValueTransformer : NSValueTransformer | @interface MTLValueTransformer : NSValueTransformer | ||
|
|
||
// Returns a transformer which transforms values using the given block. Reverse | // Returns a transformer which transforms values using the given block. Reverse | ||
// transformations will not be allowed. | // transformations will not be allowed. | ||
+ (instancetype)transformerWithBlock:(MAVValueTransformerBlock)transformationBlock; | + (instancetype)transformerWithBlock:(MTLValueTransformerBlock)transformationBlock; | ||
|
|
||
// Returns a transformer which transforms values using the given block, for | // Returns a transformer which transforms values using the given block, for | ||
// forward or reverse transformations. | // forward or reverse transformations. | ||
+ (instancetype)reversibleTransformerWithBlock:(MAVValueTransformerBlock)transformationBlock; | + (instancetype)reversibleTransformerWithBlock:(MTLValueTransformerBlock)transformationBlock; | ||
|
|
||
// Returns a transformer which transforms values using the given blocks. | // Returns a transformer which transforms values using the given blocks. | ||
+ (instancetype)reversibleTransformerWithForwardBlock:(MAVValueTransformerBlock)forwardBlock reverseBlock:(MAVValueTransformerBlock)reverseBlock; | + (instancetype)reversibleTransformerWithForwardBlock:(MTLValueTransformerBlock)forwardBlock reverseBlock:(MTLValueTransformerBlock)reverseBlock; | ||
|
|
||
@end | @end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,14 +1,14 @@ | |||
// | // | ||
// Maverick.h | // Mantle.h | ||
// Maverick | // Mantle | ||
// | // | ||
// Created by Justin Spahr-Summers on 2012-09-04. | // Created by Justin Spahr-Summers on 2012-09-04. | ||
// Copyright (c) 2012 GitHub. All rights reserved. | // Copyright (c) 2012 GitHub. All rights reserved. | ||
// | // | ||
|
|
||
#import "MAVModel.h" | #import "MTLModel.h" | ||
#import "MAVValueTransformer.h" | #import "MTLValueTransformer.h" | ||
#import "NSArray+MAVHigherOrderAdditions.h" | #import "NSArray+MTLHigherOrderAdditions.h" | ||
#import "NSDictionary+MAVHigherOrderAdditions.h" | #import "NSDictionary+MTLHigherOrderAdditions.h" | ||
#import "NSOrderedSet+MAVHigherOrderAdditions.h" | #import "NSOrderedSet+MTLHigherOrderAdditions.h" | ||
#import "NSSet+MAVHigherOrderAdditions.h" | #import "NSSet+MTLHigherOrderAdditions.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.