FUISwitchFormView
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
public var isEditable: Bool { get set }
-
isEnabled
andisEditable
are in sync.Declaration
Swift
override open var isEnabled: Bool { get set }
-
The
UISwitch
displaying the boolean value.Declaration
Swift
@objc public var switchView: UISwitch { get }
-
The value of the property. Default to be false.
Declaration
Swift
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 the
value` property is changed.Declaration
Swift
public var isUpdatingTableView: Bool
-
Implementation of change handler. Is invoked on changes to the
value
property.Declaration
Swift
public var onChangeHandler: ((Bool) -> Void)?