---
title: "column(at:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstableheaderview/column(at:)"
---

# column(at:)

Returns the index of the column whose header lies under aPoint in the receiver, or –1 if no such column is found.

## Declaration

```swift
func column(at point: NSPoint) -> Int
```

## Discussion

Discussion aPoint is expressed in the receiver’s coordinate system.

## See Also

### Utility methods

- [headerRect(ofColumn:)](appkit/nstableheaderview/headerrect(ofcolumn:).md)
