Control.State
The state of the control, specified as a bit mask value.
struct State: OptionSet
Inheritance
OptionSet
Initializers
init(rawValue:)
public init(rawValue: Int)
Properties
rawValue
public let rawValue: Int
normal
The normal, or default state of a control—that is, enabled but neither selected nor highlighted.
static var normal: Control.State
highlighted
Highlighted state of a control.
static var highlighted: Control.State
disabled
Disabled state of a control.
static var disabled: Control.State
selected
Selected state of a control.
static var selected: Control.State
focused
Focused state of a control.
static var focused: Control.State
application
Additional control-state flags available for application use.
static var application: Control.State
reserved
Control-state flags reserved for internal framework use.
static var reserved: Control.State