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