Contents

preparedCell(atColumn:row:)

Returns the fully prepared cell that the table view will use for drawing or processing of the specified row and column.

Declaration

func preparedCell(atColumn column: Int, row: Int) -> NSCell?

Parameters

  • column:

    The index in the Tablecolumns array for which to return the appropriate cell.

  • row:

    The row index for which to return the appropriate cell.

Return Value

New NSCell subclass instance to use for the specified row and column. The value for the cell is correctly set, and the delegate method tableView(_:willDisplayCell:for:row:) will have been called.

Discussion

You can override this method to do any additional cell set up that is required, or invoke it to retrieve a cell that has its contents configured for the specified column and row.

See Also

Deprecated Methods