JOESlider Class Reference
Inherits from | UISlider |
Declared in | JOESlider.h |
Overview
JOESlider is a basic subclass of UISlider, used to select a value from a continuous range of values. This is a base class for further implementations such as JOEStopSlider and the like.
Tasks
Properties
-
animated
Boolean indicating whether the slider should be animated when its value programmatically changes
property -
animating
Boolean indicating whether the slider is currently animating its value
property
Creating a JOESlider
-
– initWithFrame:
The designated initializer when using JOESlider in code.
Handle Events Using Blocks
-
– handleValueChanged:
This is a block method that handles the value changed event. This will probably be called in the viewDidLoad method most of the time to configure the slider.
-
– handletouchUp:
This is a block method that handles the touch up event. This will probably be called in the viewDidLoad method most of the time to configure the slider.
Properties
Instance Methods
handleValueChanged:
This is a block method that handles the value changed event. This will probably be called in the viewDidLoad method most of the time to configure the slider.
- (void)handleValueChanged:(void ( ^ ) ( int value ))block
Parameters
- block
Code block which is passed in a slider value variable.
Declared In
JOESlider.h
handletouchUp:
This is a block method that handles the touch up event. This will probably be called in the viewDidLoad method most of the time to configure the slider.
- (void)handletouchUp:(void ( ^ ) ( int value ))block
Parameters
- block
Code block which is passed in a slider value variable.
Declared In
JOESlider.h