clarkware / ocunit-example

Example XCode project used in my OCUnit article

This URL has Read+Write access

ocunit-example / RankineValueTransformer.h
100644 17 lines (13 sloc) 0.422 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
RankineValueTransformer.h
Copyright (c) 2003, Apple Computer, Inc., all rights reserved.
Author: Bill Bumgarner
 
Converts Kelvin units to Rankine units. Supports reverse
transformations.
*/
 
@interface RankineValueTransformer : NSValueTransformer
+ (Class)transformedValueClass;
+ (BOOL)allowsReverseTransformation;
 
- (id)transformedValue:(id)value;
- (id)reverseTransformedValue:(id)value;
@end