FUIStepperView
open class FUIStepperView : FUIFormCellContentView<FUITextField, FUIControlState, FUIText>, FUITitleComponent, FUIValueComponent, FUISubtitleComponent, UITextFieldDelegate
The content view of an FUIStepperFormCell
.
-
The highest possible numeric value for the stepper. The default is 100.
Declaration
Swift
public var maximumValue: Double
-
The lowest possible numeric value for the stepper. The default is 0.
Declaration
Swift
public var minimumValue: Double
-
The step or increment value for the stepper. The default is 1, must be greater than 0.
Declaration
Swift
public var stepValue: Double
-
The
FUITextField
holds the value string.Declaration
Swift
public var valueTextField: FUITextField { get }
-
If
isTrackingLiveChanges == true
, thenonChangeHandler
will be invoked for every letter entered. Otherwise,onChangeHandler
will be invoked only after the user taps the Done key, or the field resigns as first responder.The default is
false
.Declaration
Swift
open var isTrackingLiveChanges: Bool
-
The numeric value of the stepper. The default is minimumValue.
Declaration
Swift
public var value: Double { get set }
-
Determine the textField whether allows edit
Declaration
Swift
public var isEditable: Bool { get set }
-
Implementation of change handler. It is invoked on changes to the
value
property.Declaration
Swift
public var onChangeHandler: ((Double) -> Void)?
-
The value type is String.
Declaration
Swift
public typealias ValueType = Double
-
The subtitle text of the cell.
Declaration
Swift
public let subtitle: FUIText
-
The name of the title.
Declaration
Swift
public var keyName: String? { get set }
-
Undocumented
Declaration
Swift
open override var accessibilityElements: [Any]? { get set }
-
Undocumented
Declaration
Swift
open override func accessibilityElementCount() -> Int
-
Undocumented
Declaration
Swift
open override func accessibilityElement(at index: Int) -> Any?
-
Undocumented
Declaration
Swift
open override func index(ofAccessibilityElement element: Any) -> Int