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

  •   stopComponents

    An array of numbers that act as set values for the sliders handle to come to rest.

    property

Creating a JOEStopSlider

Properties

stopComponents

An array of numbers that act as set values for the sliders handle to come to rest.

@property (strong, nonatomic) NSArray *stopComponents

Declared In

JOESlider.h

Instance Methods

initWithFrame:

Secondary initializer.

- (instancetype)initWithFrame:(CGRect)frame

Parameters

frame

Used to size and position the control.

Return Value

Returns a JOEStopSlider object.

Declared In

JOESlider.h

initWithStopComponents:andFrame:

Designated initializer.

- (instancetype)initWithStopComponents:(NSArray *)components andFrame:(CGRect)frame

Parameters

components

An NSArray of NSNumbers with int values.

frame

CGRect position of the slider.

Return Value

Returns a JOEStopSlider object

Declared In

JOESlider.h