AWSMTLValueTransformer
Objective-C
@interface AWSMTLValueTransformer : NSValueTransformer
// Returns a transformer which transforms values using the given block. Reverse
// transformations will not be allowed.
+ (instancetype)transformerWithBlock:(AWSMTLValueTransformerBlock)transformationBlock;
// Returns a transformer which transforms values using the given block, for
// forward or reverse transformations.
+ (instancetype)reversibleTransformerWithBlock:(AWSMTLValueTransformerBlock)transformationBlock;
// Returns a transformer which transforms values using the given blocks.
+ (instancetype)reversibleTransformerWithForwardBlock:(AWSMTLValueTransformerBlock)forwardBlock reverseBlock:(AWSMTLValueTransformerBlock)reverseBlock;
@end
Swift
class AWSMTLValueTransformer : ValueTransformer
Undocumented
-
Undocumented
Declaration
Objective-C
+ (instancetype)transformerWithBlock:(AWSMTLValueTransformerBlock)transformationBlock;
Swift
convenience init!(block transformationBlock: AWSMTLValueTransformerBlock!)
-
Undocumented
Declaration
Objective-C
+ (instancetype)reversibleTransformerWithBlock:(AWSMTLValueTransformerBlock)transformationBlock;
Swift
class func reversibleTransformer(_ transformationBlock: AWSMTLValueTransformerBlock!) -> Self!
-
Undocumented
Declaration
Objective-C
+ (instancetype)reversibleTransformerWithForwardBlock:(AWSMTLValueTransformerBlock)forwardBlock reverseBlock:(AWSMTLValueTransformerBlock)reverseBlock;
Swift
class func reversibleTransformer(forwardBlock: AWSMTLValueTransformerBlock!, reverse reverseBlock: AWSMTLValueTransformerBlock!) -> Self!