FUISwitchControlState
public struct FUISwitchControlState : OptionSet
extension FUISwitchControlState: Hashable
extension FUISwitchControlState: FUIControlStateConvertable
A special control state for FUISwitchFormCell
. Usually used in following four combinations: [.disabled, .unselected], [.disabled, .selected], [.enabled, .unselected], [.enabled, .selected].
-
The raw value of
FUISwitchControlState
.Declaration
Swift
public let rawValue: Int
-
Indicating the control is user-interaction disabled.
Declaration
Swift
public static let disabled: FUISwitchControlState
-
Indicating the control is user-interaction enabled.
Declaration
Swift
public static let enabled: FUISwitchControlState
-
Indicating the control is selected.
Declaration
Swift
public static let selected: FUISwitchControlState
-
Indicating the control is not selected.
Declaration
Swift
public static let unselected: FUISwitchControlState
-
Undocumented
Declaration
Swift
public func transformToFUIControlState() -> FUIControlState