<!--
{
  "availability" : [
    "macOS: 10.11.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTableView/unhideRows(at:withAnimation:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTableView(im)unhideRowsAtIndexes:withAnimation:"
  },
  "title" : "unhideRows(at:withAnimation:)"
}
-->

# unhideRows(at:withAnimation:)

Unhides the specified table rows.

```
func unhideRows(at indexes: IndexSet, withAnimation rowAnimation: NSTableView.AnimationOptions = [])
```

## Parameters

`indexes`

An index set containing indexes of the hidden rows to be shown again.

`rowAnimation`

An animation effect to be applied when the rows are hidden.

## Discussion

Unhiding a table row causes the [`tableView(_:didAdd:forRow:)`](/documentation/AppKit/NSTableViewDelegate/tableView(_:didAdd:forRow:)) delegate method to be invoked.

## See Also

[`AnimationOptions`](/documentation/AppKit/NSTableView/AnimationOptions)

Specifies the animation effects to apply when inserting or removing rows.

[`-  tableView:didAddRowView:forRow:`](/documentation/AppKit/NSTableViewDelegate/tableView(_:didAdd:forRow:))

Tells the delegate that a row view was added at the specified row.



---

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)