FUIValuePickerComponent
public protocol FUIValuePickerComponent : AnyObject
Component protocol for FUIValuePickerContentView
properties.
-
The
UIPickerView
to be displayed.Declaration
Swift
var valuePicker: UIPickerView { get }
-
Implementation of the change handler. This is invoked on changes to the
value
property.Declaration
Swift
var onChangeHandler: ((Int) -> Void)? { get set }
-
If
isTrackingLiveChanges
is true, thenonChangeHandler
will be invoked whenever a value is selected. Otherwise,onChangeHandler
will be invoked only when the Value Picker is closed. The default value istrue
.Declaration
Swift
var isTrackingLiveChanges: Bool { get set }