---
title: "enumerateAvailableRowViews(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstableview/enumerateavailablerowviews(_:)"
---

# enumerateAvailableRowViews(_:)

Allows the enumeration of all the table rows that are known to the table view.

## Declaration

```swift
func enumerateAvailableRowViews(_ handler: (NSTableRowView, Int) -> Void)
```

## Parameters

- `handler`: The Block to apply to elements in the set. The Block takes two arguments:

## Discussion

Discussion The enumeration includes all views in the visibleRect; however, it may also include ones that are “in flight” due to animations or other attributes of the table. It is preferred to use this method to efficiently make changes over all views that exist in the table. note: There is no guarantee that the rows will be enumerated in the displayed order.
