---
title: "tableView(_:userDidChangeVisibilityOf:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstableviewdelegate/tableview(_:userdidchangevisibilityof:)"
---

# tableView(_:userDidChangeVisibilityOf:)

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

## Declaration

```swift
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.

## See Also

### Showing and hiding columns

- [tableView(_:userCanChangeVisibilityOf:)](appkit/nstableviewdelegate/tableview(_:usercanchangevisibilityof:).md)
