FUISwitchFormView
@MainActor
open class FUISwitchFormView : FUIFormCellContentView<UISwitch, FUISwitchControlState, FUIMultiLineText>, FUISwitchComponent, FUITitleMultiLineComponent
The content view of a FUISwitchFormCell.
-
Indicates if the value of the cell could be changed or not. The default is true.
Declaration
Swift
@MainActor public var isEditable: Bool { get set } -
isEnabledandisEditableare in sync.Declaration
Swift
@MainActor override open var isEnabled: Bool { get set } -
The
UISwitchdisplaying the boolean value.Declaration
Swift
@objc @MainActor public var switchView: UISwitch { get } -
The value of the property. Default to be false.
Declaration
Swift
@MainActor public var value: Bool { get set } -
A boolean determines if the layout update of parent table view (hosting the switch form cell) should be animated when thevalue` property is changed.Declaration
Swift
@MainActor public var isUpdatingTableView: Bool -
Implementation of change handler. Is invoked on changes to the
valueproperty.Declaration
Swift
@MainActor public var onChangeHandler: ((Bool) -> Void)?