Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSViewBuilder switchWithId:] returns UIStepper #61

Closed
bangerang opened this issue Nov 1, 2016 · 1 comment
Closed

[ISSViewBuilder switchWithId:] returns UIStepper #61

bangerang opened this issue Nov 1, 2016 · 1 comment

Comments

@bangerang
Copy link

bangerang commented Nov 1, 2016

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.

@tolo
Copy link
Owner

tolo commented Nov 3, 2016

Oops! :) Fixed now, thanks.

@tolo tolo closed this as completed Nov 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants