selectCell(_:)
Selects the specified cell and redraws the control as needed.
Declaration
func selectCell(_ cell: NSCell)Parameters
- cell:
The cell to select. The cell must belong to the receiver.
Discussion
If the cell is already selected (or does not belong to the receiver), this method does nothing. If the cell belongs to the receiver and is not selected, this method changes its state to NSOnState and redraws the cell.