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

# item(at:)

Returns the item at the specified index path.

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

## Parameters

`indexPath`

The index path of the item to return.

## Return Value

The item.

## 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.

---

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)