Fix a few spacing issues. Refs #614

This commit is contained in:
Jawwad Ahmad
2012-06-03 22:49:03 -04:00
parent 086dceee66
commit 2cf60ffb86
12 changed files with 25 additions and 25 deletions

View File

@@ -62,15 +62,15 @@
break;
case RKFormControlTypeSwitch:;
control = [(UIControl *) [UISwitch new] autorelease];
control = [(UIControl *)[UISwitch new] autorelease];
break;
case RKFormControlTypeSlider:;
control = [(UIControl *) [UISlider new] autorelease];
control = [(UIControl *)[UISlider new] autorelease];
break;
case RKFormControlTypeLabel:;
control = [(UIControl *) [UILabel new] autorelease];
control = [(UIControl *)[UILabel new] autorelease];
break;
case RKFormControlTypeUnknown:
@@ -87,9 +87,9 @@
[control isKindOfClass:[UILabel class]]) {
return @"text";
} else if ([control isKindOfClass:[UISwitch class]]) {
return @"on";
return @"on";
} else if ([control isKindOfClass:[UISlider class]]) {
return @"value";
return @"value";
} else {
[NSException raise:NSInvalidArgumentException format:@"*** -[%@ %@]: unable to define mapping for control type %@", NSStringFromClass([self class]), NSStringFromSelector(_cmd), NSStringFromClass([control class])];
}