<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTableHeaderView/column(at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTableHeaderView(im)columnAtPoint:"
  },
  "title" : "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.

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

## Discussion

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

---

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)