---
title: "itemViewForItem(at:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsscrubber/itemviewforitem(at:)"
---

# itemViewForItem(at:)

Returns the view for the item at the specified index.

## Declaration

```swift
func itemViewForItem(at index: Int) -> NSScrubberItemView?
```

## Parameters

- `index`: The index of the item whose view you want.

## Return Value

Return Value The view for the specified index or nil if the item is not currently visible.
