Contents

browser(_:shouldEditItem:)

Asks the delegate whether the browser may start an editing session for the specified item.

Declaration

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

Parameters

  • browser:

    The browser.

  • item:

    The item to edit.

Return Value

true to allow the editing session to begin; false to disallow it.

See Also

Accessing Components