<!--
{
  "availability" : [
    "macOS: 10.5.0 - 10.10.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTableView/preparedCell(atColumn:row:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTableView(im)preparedCellAtColumn:row:"
  },
  "title" : "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.

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

## Parameters

`column`

The index in the [`tableColumns`](/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

New [`NSCell`](/documentation/AppKit/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:)`](/documentation/AppKit/NSTableViewDelegate/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`.

> Note:
> This method is only available to ``doc://com.apple.appkit/documentation/AppKit/NSCell``-based table views.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)