RBSliderFieldDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | RBSliderField.h |
Overview
A delegate to receive slider value changes and extend string formatting for an RBSliderField
object.
– formatSliderStartValue:sliderField:
required method
Called to format the start value string for presentation in the label.
- (nonnull NSString *)formatSliderStartValue:(float)startValue sliderField:(nonnull RBSliderField *)sliderField
Parameters
startValue |
The start value. |
---|---|
sliderField |
The slider field object. |
Return Value
The formatted NSString
object.
Discussion
Called to format the start value string for presentation in the label.
Declared In
RBSliderField.h
– formatSliderEndValue:sliderField:
required method
Called to format the end value string for presentation in the label.
- (nonnull NSString *)formatSliderEndValue:(float)endValue sliderField:(nonnull RBSliderField *)sliderField
Parameters
endValue |
The end value. |
---|---|
sliderField |
The slider field object. |
Return Value
The formatted NSString
object.
Discussion
Called to format the end value string for presentation in the label.
Declared In
RBSliderField.h
– valueDidChangeWithSliderField:
Called when the numeric range selection changes.
- (void)valueDidChangeWithSliderField:(nonnull RBSliderField *)sliderField
Parameters
sliderField |
The slider field object. |
---|
Discussion
Called when the numeric range selection changes.
Declared In
RBSliderField.h