Contents

browser(_:selectCellWith:inColumn:)

Asks the delegate to select the cell with the given title in the specified column.

Declaration

@MainActor optional func browser(_ sender: NSBrowser, selectCellWith title: String, inColumn column: Int) -> Bool

Parameters

  • sender:

    The browser.

  • title:

    The title of the cell to select.

  • column:

    The index of the column containing the cell to select.

Return Value

true if the cell was successfully selected; otherwise, false.

Discussion

Invoked in response to the setPath(_:) method of NSBrowser being received by sender.

See Also

Related Documentation

Managing Selection