Contents

browser(_:createRowsForColumn:in:)

Creates a row in the given matrix for each row of data in the specified column of the browser.

Declaration

@MainActor optional func browser(_ sender: NSBrowser, createRowsForColumn column: Int, in matrix: NSMatrix)

Parameters

  • sender:

    The browser.

  • column:

    The index of the column in which the rows are located.

  • matrix:

    The matrix in which the rows are created.

Discussion

Either this method or browser(_:numberOfRowsInColumn:) must be implemented, but not both, or an NSBrowserIllegalDelegateException will be raised.

See Also

Managing Columns