Contents

browser(_:numberOfChildrenOfItem:)

Asks the delegate for the number of children the given item has.

Declaration

@MainActor optional func browser(_ browser: NSBrowser, numberOfChildrenOfItem item: Any?) -> Int

Parameters

  • browser:

    The browser.

  • item:

    The item that has some number of children.

Return Value

The number of children.

See Also

Getting Browser Information