rootItem(for:)
Asks the delegate to return the root item of the browser.
Declaration
@MainActor optional func rootItem(for browser: NSBrowser) -> Any?Parameters
- browser:
The browser.
Return Value
The browser’s root item.
Discussion
By default, nil identifies the root item. This method can specify a different root item. To reload the previously set root item, call loadColumnZero(), and rootItem(for:) will be called again.