<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTableColumn/tableView",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTableColumn(py)tableView"
  },
  "title" : "tableView"
}
-->

# tableView

The table view that contains the table column.

```
weak var tableView: NSTableView? { get set }
```

## Discussion

You should never need to set this property; it’s set automatically when you add a table column to a table view using the `NSTableView` class’s method [`addTableColumn(_:)`](/documentation/AppKit/NSTableView/addTableColumn(_:)).

## See Also

[`-  addTableColumn:`](/documentation/AppKit/NSTableView/addTableColumn(_:))

Adds the specified column as the last column of the table view.



---

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)