Instance Method

cellAtRow:column:

Returns the cell at the specified row and column.

Declaration

- (__kindof NSCell *)cellAtRow:(NSInteger)row column:(NSInteger)col;

Parameters

row

The number of the row containing the cell to return.

column

The number of the column containing the cell to return.

Return Value

The NSCell object at the specified row and column location specified, or nil if either row or column is outside the bounds of the receiver.

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.

- cellWithTag:

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

cells

An array containing the cells of the matrix.