---
title: "tableColumn(withIdentifier:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstableview/tablecolumn(withidentifier:)"
---

# tableColumn(withIdentifier:)

Returns the NSTableColumn object for the first column whose identifier is equal to the specified object.

## Declaration

```swift
func tableColumn(withIdentifier identifier: NSUserInterfaceItemIdentifier) -> NSTableColumn?
```

## Parameters

- `identifier`: A column identifier.

## Return Value

Return Value The NSTableColumn object for the first column whose identifier is equal to anObject (when compared using isEqual:), or nil if no columns are found with the specified identifier.

## See Also

### Column Management

- [addTableColumn(_:)](appkit/nstableview/addtablecolumn(_:).md)
- [removeTableColumn(_:)](appkit/nstableview/removetablecolumn(_:).md)
- [moveColumn(_:toColumn:)](appkit/nstableview/movecolumn(_:tocolumn:).md)
- [tableColumns](appkit/nstableview/tablecolumns.md)
- [column(withIdentifier:)](appkit/nstableview/column(withidentifier:).md)
