Instance Method

cellWithTag:

Searches the receiver and returns the last cell matching the specified tag.

Declaration

- (__kindof NSCell *)cellWithTag:(NSInteger)tag;

Parameters

anInt

The tag of the cell to return.

Return Value

The last (when viewing the matrix as a row-ordered array) NSCell object that has a tag matching anInt, or nil if no such cell exists

See Also

Finding Cells

selectedCell

The most recently selected cell.

selectedCells

An array containing all of the matrix’s highlighted cells plus its selected cell.

selectedColumn

The column number of the selected cell.

selectedRow

The row number of the selected cell.

- cellAtRow:column:

Returns the cell at the specified row and column.

cells

An array containing the cells of the matrix.