FUIRangeSlider
open class FUIRangeSlider : UIControl
A slider form cell displays a continuous range of values along a track where the user slides a handle using their thumb between the lower (minimum) value of the range and the upper (maximum value) of the range. The custom range slider supports both a single thumb or double thumb.
Note: In voiceover mode, and when focusing on the thumb, the user can swipe up or down to change the value or double tap and hold to continuously change the value.
-
The fixed minimum value.
Declaration
Swift
open var minimumValue: Double { get set } -
The fixed maximum value.
Declaration
Swift
open var maximumValue: Double { get set } -
The minimum value that the user has selected. The default is equal to
minimumValue.Declaration
Swift
open var lowerValue: Double { get set } -
The maximum value that the user has selected. The default is equal to
maximumValue.Declaration
Swift
open var upperValue: Double { get set } -
Determine whether the slider displays a single thumb or double thumb. The default is
true(double thumb).Note: if set to
false, only a single thumb is displayed. ThelowerValueis then always equal to the minimum value and theupperValuechanges according to the user selection.Declaration
Swift
open var isRangeSelection: Bool { get set } -
The tint color of the track.
Declaration
Swift
open var trackTintColor: UIColor { get set } -
The color of the selected range between the minimum and maximum values on the track.
Declaration
Swift
open var trackSelectionColor: UIColor { get set } -
The tint color of the thumb.
Declaration
Swift
open var thumbTintColor: UIColor { get set } -
Set the minimum value of the slider as it changes.
Declaration
Swift
open var interval: Double -
If set, value change events are generated any time the value changes due to dragging. The default is
true.Declaration
Swift
open var isContinuous: Bool -
Determine whether the slider is editable.
Declaration
Swift
open var isEditable: Bool { get set } -
Implementation of the change handle. It is invoked when the slider is slid along the track.
Declaration
Swift
open var onChangeHandler: ((_ lower: Double, _ upper: Double) -> Void)?
-
Undocumented
Declaration
Swift
open override var frame: CGRect { get set } -
Undocumented
Declaration
Swift
required public init?(coder: NSCoder)