Contents

selectCell(withTag:)

Selects the last cell with the given tag.

Declaration

func selectCell(withTag tag: Int) -> Bool

Parameters

  • tag:

    The tag of the cell to select.

Return Value

true if the receiver contains a cell whose tag matches anInt, or false if no such cell exists

Discussion

If the matrix has at least one cell whose tag is equal to anInt, the last cell (when viewing the matrix as a row-ordered array) is selected. If the specified cell is an editable text cell, its text is selected.

See Also

Related Documentation

Selecting and Deselecting Cells