Contents

init(isSelected:)

Creates the state that describes if a UI element is selected.

Declaration

init(isSelected: Bool = false)

Parameters

  • isSelected:

    A Boolean value that indicates whether the UI element is selected.