Is there a way to change the decimal precision of a stepper row? I would like to have just an integer instead of double.
let stepperRow = StepperRow() {
$0.cell.stepper.stepValue = 1
$0.displayValueFor = { value in
guard let value = value else { return nil }
return "\(Int(value))"
}
}
Most helpful comment