author | unc0rr |
Mon, 20 Jan 2014 00:25:40 +0400 | |
changeset 10022 | eb981a03de90 |
parent 8441 | a00b0fa0dbd7 |
child 11115 | 3729ac42189b |
permissions | -rwxr-xr-x |
6658
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
1 |
// |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
2 |
// MGSplitCornersView.m |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
3 |
// MGSplitView |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
4 |
// |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
5 |
// Created by Matt Gemmell on 28/07/2010. |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
6 |
// Copyright 2010 Instinctive Code. |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
7 |
// |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
8 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
9 |
#import "MGSplitCornersView.h" |
6908
896ed2afcfb8
ios: turn on more warning messages and start correcting them
koda
parents:
6659
diff
changeset
|
10 |
#import "CGPointUtils.h" |
6658
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
11 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
12 |
@implementation MGSplitCornersView |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
13 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
14 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
15 |
#pragma mark - |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
16 |
#pragma mark Setup and teardown |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
17 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
18 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
19 |
- (id)initWithFrame:(CGRect)frame |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
20 |
{ |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
21 |
if ((self = [super initWithFrame:frame])) { |
8441 | 22 |
self.contentMode = UIViewContentModeRedraw; |
23 |
self.userInteractionEnabled = NO; |
|
24 |
self.opaque = NO; |
|
25 |
self.backgroundColor = [UIColor clearColor]; |
|
26 |
cornerRadius = 0.0; // actual value is set by the splitViewController. |
|
27 |
cornersPosition = MGCornersPositionLeadingVertical; |
|
6658
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
28 |
} |
8441 | 29 |
|
6658
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
30 |
return self; |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
31 |
} |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
32 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
33 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
34 |
- (void)dealloc |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
35 |
{ |
8441 | 36 |
self.cornerBackgroundColor = nil; |
37 |
||
38 |
[super dealloc]; |
|
6658
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
39 |
} |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
40 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
41 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
42 |
#pragma mark - |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
43 |
#pragma mark Drawing |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
44 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
45 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
46 |
- (void)drawRect:(CGRect)rect |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
47 |
{ |
8441 | 48 |
// Draw two appropriate corners, with cornerBackgroundColor behind them. |
49 |
if (cornerRadius > 0) { |
|
50 |
if (NO) { // just for debugging. |
|
51 |
[[UIColor redColor] set]; |
|
52 |
UIRectFill(self.bounds); |
|
53 |
} |
|
54 |
||
55 |
float maxX = CGRectGetMaxX(self.bounds); |
|
56 |
float maxY = CGRectGetMaxY(self.bounds); |
|
57 |
UIBezierPath *path = [UIBezierPath bezierPath]; |
|
58 |
CGPoint pt = CGPointZero; |
|
59 |
switch (cornersPosition) { |
|
60 |
case MGCornersPositionLeadingVertical: // top of screen for a left/right split |
|
61 |
[path moveToPoint:pt]; |
|
62 |
pt.y += cornerRadius; |
|
63 |
[path appendPath:[UIBezierPath bezierPathWithArcCenter:pt radius:cornerRadius startAngle:degreesToRadians(90) endAngle:0 clockwise:YES]]; |
|
64 |
pt.x += cornerRadius; |
|
65 |
pt.y -= cornerRadius; |
|
66 |
[path addLineToPoint:pt]; |
|
67 |
[path addLineToPoint:CGPointZero]; |
|
68 |
[path closePath]; |
|
69 |
||
70 |
pt.x = maxX - cornerRadius; |
|
71 |
pt.y = 0; |
|
72 |
[path moveToPoint:pt]; |
|
73 |
pt.y = maxY; |
|
74 |
[path addLineToPoint:pt]; |
|
75 |
pt.x += cornerRadius; |
|
76 |
[path appendPath:[UIBezierPath bezierPathWithArcCenter:pt radius:cornerRadius startAngle:degreesToRadians(180) endAngle:degreesToRadians(90) clockwise:YES]]; |
|
77 |
pt.y -= cornerRadius; |
|
78 |
[path addLineToPoint:pt]; |
|
79 |
pt.x -= cornerRadius; |
|
80 |
[path addLineToPoint:pt]; |
|
81 |
[path closePath]; |
|
82 |
||
83 |
break; |
|
84 |
||
85 |
case MGCornersPositionTrailingVertical: // bottom of screen for a left/right split |
|
86 |
pt.y = maxY; |
|
87 |
[path moveToPoint:pt]; |
|
88 |
pt.y -= cornerRadius; |
|
89 |
[path appendPath:[UIBezierPath bezierPathWithArcCenter:pt radius:cornerRadius startAngle:degreesToRadians(270) endAngle:degreesToRadians(360) clockwise:NO]]; |
|
90 |
pt.x += cornerRadius; |
|
91 |
pt.y += cornerRadius; |
|
92 |
[path addLineToPoint:pt]; |
|
93 |
pt.x -= cornerRadius; |
|
94 |
[path addLineToPoint:pt]; |
|
95 |
[path closePath]; |
|
96 |
||
97 |
pt.x = maxX - cornerRadius; |
|
98 |
pt.y = maxY; |
|
99 |
[path moveToPoint:pt]; |
|
100 |
pt.y -= cornerRadius; |
|
101 |
[path addLineToPoint:pt]; |
|
102 |
pt.x += cornerRadius; |
|
103 |
[path appendPath:[UIBezierPath bezierPathWithArcCenter:pt radius:cornerRadius startAngle:degreesToRadians(180) endAngle:degreesToRadians(270) clockwise:NO]]; |
|
104 |
pt.y += cornerRadius; |
|
105 |
[path addLineToPoint:pt]; |
|
106 |
pt.x -= cornerRadius; |
|
107 |
[path addLineToPoint:pt]; |
|
108 |
[path closePath]; |
|
109 |
||
110 |
break; |
|
111 |
||
112 |
case MGCornersPositionLeadingHorizontal: // left of screen for a top/bottom split |
|
113 |
pt.x = 0; |
|
114 |
pt.y = cornerRadius; |
|
115 |
[path moveToPoint:pt]; |
|
116 |
pt.y -= cornerRadius; |
|
117 |
[path addLineToPoint:pt]; |
|
118 |
pt.x += cornerRadius; |
|
119 |
[path appendPath:[UIBezierPath bezierPathWithArcCenter:pt radius:cornerRadius startAngle:degreesToRadians(180) endAngle:degreesToRadians(270) clockwise:NO]]; |
|
120 |
pt.y += cornerRadius; |
|
121 |
[path addLineToPoint:pt]; |
|
122 |
pt.x -= cornerRadius; |
|
123 |
[path addLineToPoint:pt]; |
|
124 |
[path closePath]; |
|
125 |
||
126 |
pt.x = 0; |
|
127 |
pt.y = maxY - cornerRadius; |
|
128 |
[path moveToPoint:pt]; |
|
129 |
pt.y = maxY; |
|
130 |
[path addLineToPoint:pt]; |
|
131 |
pt.x += cornerRadius; |
|
132 |
[path appendPath:[UIBezierPath bezierPathWithArcCenter:pt radius:cornerRadius startAngle:degreesToRadians(180) endAngle:degreesToRadians(90) clockwise:YES]]; |
|
133 |
pt.y -= cornerRadius; |
|
134 |
[path addLineToPoint:pt]; |
|
135 |
pt.x -= cornerRadius; |
|
136 |
[path addLineToPoint:pt]; |
|
137 |
[path closePath]; |
|
138 |
||
139 |
break; |
|
140 |
||
141 |
case MGCornersPositionTrailingHorizontal: // right of screen for a top/bottom split |
|
142 |
pt.y = cornerRadius; |
|
143 |
[path moveToPoint:pt]; |
|
144 |
pt.y -= cornerRadius; |
|
145 |
[path appendPath:[UIBezierPath bezierPathWithArcCenter:pt radius:cornerRadius startAngle:degreesToRadians(270) endAngle:degreesToRadians(360) clockwise:NO]]; |
|
146 |
pt.x += cornerRadius; |
|
147 |
pt.y += cornerRadius; |
|
148 |
[path addLineToPoint:pt]; |
|
149 |
pt.x -= cornerRadius; |
|
150 |
[path addLineToPoint:pt]; |
|
151 |
[path closePath]; |
|
152 |
||
153 |
pt.y = maxY - cornerRadius; |
|
154 |
[path moveToPoint:pt]; |
|
155 |
pt.y += cornerRadius; |
|
156 |
[path appendPath:[UIBezierPath bezierPathWithArcCenter:pt radius:cornerRadius startAngle:degreesToRadians(90) endAngle:0 clockwise:YES]]; |
|
157 |
pt.x += cornerRadius; |
|
158 |
pt.y -= cornerRadius; |
|
159 |
[path addLineToPoint:pt]; |
|
160 |
pt.x -= cornerRadius; |
|
161 |
[path addLineToPoint:pt]; |
|
162 |
[path closePath]; |
|
163 |
||
164 |
break; |
|
165 |
||
166 |
default: |
|
167 |
break; |
|
168 |
} |
|
169 |
||
170 |
[self.cornerBackgroundColor set]; |
|
171 |
[path fill]; |
|
172 |
} |
|
6658
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
173 |
} |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
174 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
175 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
176 |
#pragma mark - |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
177 |
#pragma mark Accessors and properties |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
178 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
179 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
180 |
- (void)setCornerRadius:(float)newRadius |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
181 |
{ |
8441 | 182 |
if (newRadius != cornerRadius) { |
183 |
cornerRadius = newRadius; |
|
184 |
[self setNeedsDisplay]; |
|
185 |
} |
|
6658
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
186 |
} |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
187 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
188 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
189 |
- (void)setSplitViewController:(MGSplitViewController *)theController |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
190 |
{ |
8441 | 191 |
if (theController != splitViewController) { |
192 |
splitViewController = theController; |
|
193 |
[self setNeedsDisplay]; |
|
194 |
} |
|
6658
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
195 |
} |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
196 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
197 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
198 |
- (void)setCornersPosition:(MGCornersPosition)posn |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
199 |
{ |
8441 | 200 |
if (cornersPosition != posn) { |
201 |
cornersPosition = posn; |
|
202 |
[self setNeedsDisplay]; |
|
203 |
} |
|
6658
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
204 |
} |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
205 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
206 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
207 |
- (void)setCornerBackgroundColor:(UIColor *)color |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
208 |
{ |
8441 | 209 |
if (color != cornerBackgroundColor) { |
210 |
[cornerBackgroundColor release]; |
|
211 |
cornerBackgroundColor = [color retain]; |
|
212 |
[self setNeedsDisplay]; |
|
213 |
} |
|
6658
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
214 |
} |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
215 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
216 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
217 |
@synthesize cornerRadius; |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
218 |
@synthesize splitViewController; |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
219 |
@synthesize cornersPosition; |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
220 |
@synthesize cornerBackgroundColor; |
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
221 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
222 |
|
2cccf6b2b89d
added MGSplitViewController, popular replacement for uisplitviewcontrollers: this brings rotation support to our settings pages! weapons and schemes are the only controllers displaying minor glitches
koda
parents:
diff
changeset
|
223 |
@end |