Some editable UITableViewCell subclasses for Cocoa Touch applications based on jon/BPEditableTableViewCell and lavoy/ALActionBlocks to quickly build settings screens (and whatever else you need editable UITableViewCells for).
- BPSliderEditableTableViewCell
- BPStepperEditableTableViewCell
- BPSwitchEditableTableViewCell
- BPTextFieldEditableTableViewCell
Both slider- and steppercells display the current value as text.
Here's a switch cell as example (It'll look exactly as you'd expect - a tableviewcell with a switch on it).
BPSwitchEditableTableViewCell *cell = [[BPSwitchEditableTableViewCell alloc] initWithLabel:@"Some Label" boolValue:YES reuseIdentifier:@"switchCell" andBlock:^(UISwitch *weakControl){
BOOL someValue = weakControl.on;
}];