FUIRangeSlider
@MainActor
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
@MainActor open var minimumValue: Double { get set } -
The fixed maximum value.
Declaration
Swift
@MainActor open var maximumValue: Double { get set } -
The minimum value that the user has selected. The default is equal to
minimumValue.Declaration
Swift
@MainActor open var lowerValue: Double { get set } -
The maximum value that the user has selected. The default is equal to
maximumValue.Declaration
Swift
@MainActor 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
@MainActor open var isRangeSelection: Bool { get set } -
The tint color of the track.
Declaration
Swift
@MainActor open var trackTintColor: UIColor { get set } -
The color of the selected range between the minimum and maximum values on the track.
Declaration
Swift
@MainActor open var trackSelectionColor: UIColor { get set } -
The tint color of the thumb.
Declaration
Swift
@MainActor open var thumbTintColor: UIColor { get set } -
Set the minimum value of the slider as it changes.
Declaration
Swift
@MainActor 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
@MainActor open var isContinuous: Bool -
Determine whether the slider is editable.
Declaration
Swift
@MainActor open var isEditable: Bool { get set } -
Implementation of the change handle. It is invoked when the slider is slid along the track.
Declaration
Swift
@MainActor open var onChangeHandler: ((_ lower: Double, _ upper: Double) -> Void)?
-
Undocumented
Declaration
Swift
@MainActor open override var frame: CGRect { get set } -
Undocumented
Declaration
Swift
@MainActor required public init?(coder: NSCoder)