CellConfigurationState
A structure that encapsulates a cell’s state.
public struct CellConfigurationState: ConfigurationState
Inheritance
Initializers
init(traitCollection:)
Creates a cell configuration state with the specified trait collection.
public init(traitCollection: TraitCollection)
Properties
traitCollection
The traits that describe the current layout environment of the view, such as the user interface style and layout direction.
public var traitCollection: TraitCollection
isSelected
A boolean value that indicates whether the cell is in a selected state.
public var isSelected: Bool = false
isHighlighted
A boolean value that indicates whether the cell is in a highlighted state.
public var isHighlighted: Bool = false
isFocused
A boolean value that indicates whether the cell is in a focused state.
public var isFocused: Bool = false
isDisabled
A boolean value that indicates whether the cell is in a disabled state.
public var isDisabled: Bool = false