Contents

browser(_:willDisplayCell:atRow:column:)

Gives the delegate the opportunity to modify the specified cell at the given row and column location before the browser displays it.

Declaration

@MainActor optional func browser(_ sender: NSBrowser, willDisplayCell cell: Any, atRow row: Int, column: Int)

Parameters

  • sender:

    The browser.

  • cell:

    The cell to be displayed.

  • row:

    The row index of the cell to be displayed.

  • column:

    The column index of the cell to be displayed.

Discussion

The delegate should set any state necessary for the correct display of the cell.

See Also

Related Documentation

Managing Columns