<!--
{
  "availability" : [
    "macOS: 10.6.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSBrowserDelegate/browser(_:child:ofItem:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSBrowserDelegate(im)browser:child:ofItem:"
  },
  "title" : "browser(_:child:ofItem:)"
}
-->

# browser(_:child:ofItem:)

Asks the delegate to return the child of the specified item at the specified index.

```
@MainActor optional func browser(_ browser: NSBrowser, child index: Int, ofItem item: Any?) -> Any
```

## Parameters

`browser`

The browser.

`index`

The child’s index.

`item`

The item containing the child.

## Return Value

The child at the specified index.

## Discussion

---

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)