<!--
{
  "availability" : [
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTableViewDelegate/tableView(_:userDidChangeVisibilityOf:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSTableViewDelegate(im)tableView:userDidChangeVisibilityOfTableColumns:"
  },
  "title" : "tableView(_:userDidChangeVisibilityOf:)"
}
-->

# tableView(_:userDidChangeVisibilityOf:)

Tells the delegate that the user changed the visibility of one or more table columns.

```
optional func tableView(_ tableView: NSTableView, userDidChangeVisibilityOf columns: [NSTableColumn])
```

## Parameters

`tableView`

The table view object requesting this information.

`columns`

The table columns affected by the visibility change.

---

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)