---
title: "preparedCell(atColumn:row:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstableview/preparedcell(atcolumn:row:)"
---

# 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

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

## Parameters

- `column`: The index in the doc://com.apple.appkit/documentation/AppKit/NSTableView/tableColumns array for which to return the appropriate cell.
- `row`: The row index for which to return the appropriate cell.

## Return Value

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

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. note: This method is only available to NSCell-based table views.

## See Also

### Deprecated Methods

- [focusedColumn()](appkit/nstableview/focusedcolumn().md)
- [setFocusedColumn(_:)](appkit/nstableview/setfocusedcolumn(_:).md)
- [shouldFocusCell(_:atColumn:row:)](appkit/nstableview/shouldfocuscell(_:atcolumn:row:).md)
- [performClickOnCell(atColumn:row:)](appkit/nstableview/performclickoncell(atcolumn:row:).md)
