---
title: "item(at:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsbrowser/item(at:)"
---

# item(at:)

Returns the item at the specified index path.

## Declaration

```swift
func item(at indexPath: IndexPath) -> Any?
```

## Parameters

- `indexPath`: The index path of the item to return.

## Return Value

Return Value The item.

## Discussion

Discussion This method can only be used if the delegate implements the item data source methods. The specified index path must be displayable in the browser.

## See Also

### Accessing Components

- [loadedCell(atRow:column:)](appkit/nsbrowser/loadedcell(atrow:column:).md)
- [editItem(at:with:select:)](appkit/nsbrowser/edititem(at:with:select:).md)
- [item(atRow:inColumn:)](appkit/nsbrowser/item(atrow:incolumn:).md)
- [indexPath(forColumn:)](appkit/nsbrowser/indexpath(forcolumn:).md)
- [isLeafItem(_:)](appkit/nsbrowser/isleafitem(_:).md)
- [parentForItems(inColumn:)](appkit/nsbrowser/parentforitems(incolumn:).md)
