Clean up.

This commit is contained in:
Alexander Ljungberg committed 2013-08-19 22:31:21 +01:00
1 parent 5958220bdd
commit 3fb12f6382
1 file changed
+2 -4
@@ -24,10 +24,10 @@
[contentView addSubview:label];
theSlider = [[CPSlider alloc] initWithFrame:CGRectMake(100,100,180,24)];
theSlider = [[CPSlider alloc] initWithFrame:CGRectMake(100, 100, 180, 24)];
[theSlider setMinValue:36];
[theSlider setMaxValue:238];
[theSlider setObjectValue:([theSlider minValue] + [theSlider maxValue])/2];
[theSlider setObjectValue:([theSlider minValue] + [theSlider maxValue]) / 2];
[theSlider setTarget:self];
[theSlider setAction:@selector(doSlider:)];
[contentView addSubview:theSlider];
@@ -104,8 +104,6 @@
}
}
@end