-
Notifications
You must be signed in to change notification settings - Fork 0
/
ITTextField.m
72 lines (54 loc) · 1.33 KB
/
ITTextField.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#import "ITTextField.h"
#import "ITTextFieldCell.h"
@implementation ITTextField
+ (void)initialize {
if (self == [ITTextField class]) {
[self setCellClass:[ITTextFieldCell class]];
}
}
+ (Class)cellClass {
return [ITTextFieldCell class];
}
- (BOOL)castsShadow {
return [[self cell] castsShadow];
}
- (void)setCastsShadow:(BOOL)newSetting {
[[self cell] setCastsShadow:newSetting];
}
- (float)shadowElevation {
return [[self cell] shadowElevation];
}
- (void)setShadowElevation:(float)newElevation {
[[self cell] setShadowElevation:newElevation];
}
- (float)shadowAzimuth {
return [[self cell] shadowAzimuth];
}
- (void)setShadowAzimuth:(float)newAzimuth {
[[self cell] setShadowAzimuth:newAzimuth];
}
- (float)shadowAmbient {
return [[self cell] shadowAmbient];
}
- (void)setShadowAmbient:(float)newAmbient {
[[self cell] setShadowAmbient:newAmbient];
}
- (float)shadowHeight {
return [[self cell] shadowHeight];
}
- (void)setShadowHeight:(float)newHeight {
[[self cell] setShadowHeight:newHeight];
}
- (float)shadowRadius {
return [[self cell] shadowRadius];
}
- (void)setShadowRadius:(float)newRadius {
[[self cell] setShadowRadius:newRadius];
}
- (float)shadowSaturation {
return [[self cell] shadowSaturation];
}
- (void)setShadowSaturation:(float)newSaturation {
[[self cell] setShadowSaturation:newSaturation];
}
@end