[ISSViewBuilder switchWithId:] returns UIStepper
bangerang opened this issue · comments
Johan Thorell commented
Hi,
This returns a UIStepper, not a UiSwitch :)
+ (UISwitch*) switchWithId:(NSString*)elementId {
return [self setupView:[[UIStepper alloc] init] withId:elementId andStyleClass:nil];
}
+ (UISwitch*) switchWithStyle:(NSString*)styleClass {
return [self setupView:[[UIStepper alloc] init] withStyleClass:styleClass];
}
Running version 1.5.
Tobias Löfstrand commented
Oops! :) Fixed now, thanks.