JOEStopSlider Class Reference
| Inherits from | JOESlider : UISlider |
| Declared in | JOESlider.h |
Overview
JOEStopSlider is used to select a value from a set of values. When the gesture is finished the control’s handle will snap to the nearest stop point value.
Tasks
Properties
-
stopComponentsAn array of numbers that act as set values for the sliders handle to come to rest.
property
Creating a JOEStopSlider
-
– initWithStopComponents:andFrame:Designated initializer.
-
– initWithFrame:Secondary initializer.
Instance Methods
initWithFrame:
Secondary initializer.
- (instancetype)initWithFrame:(CGRect)frameParameters
- frame
Used to size and position the control.
Return Value
Returns a JOEStopSlider object.
Declared In
JOESlider.hinitWithStopComponents:andFrame:
Designated initializer.
- (instancetype)initWithStopComponents:(NSArray *)components andFrame:(CGRect)frameParameters
- components
An NSArray of NSNumbers with int values.
- frame
CGRect position of the slider.
Return Value
Returns a JOEStopSlider object
Declared In
JOESlider.h