Closed gmoledina closed 8 years ago
New BOTableViewCell subclass with a UIStepper.
All parameters can directly be configured in the stepper :
[self.boTableViewController addSection:[BOTableViewSection sectionWithHeaderTitle:@"Text" handler:^(BOTableViewSection *section) { [section addCell:[BOStepperTableViewCell cellWithTitle:@"Font size" key:@"fontsize" handler:^(BOStepperTableViewCell *cell) { cell.stepper.minimumValue = 10; cell.stepper.maximumValue = 22; cell.stepper.stepValue = 1; }]]; }]];
Thanks a lot. Really cool and straightforward. Merging! :+1:
New BOTableViewCell subclass with a UIStepper.
All parameters can directly be configured in the stepper :