Contents

outlineView(_:shouldSelect:)

Returns a Boolean value that indicates whether the outline view should select a given table column.

Declaration

@MainActor optional func outlineView(_ outlineView: NSOutlineView, shouldSelect tableColumn: NSTableColumn?) -> Bool

Parameters

  • outlineView:

    The outline view that sent the message.

  • tableColumn:

    The table column.

Return Value

true to permit outlineView to select tableColumn, false to deny permission.

Discussion

The delegate can implement this method to disallow selection of specific columns.

See Also

Handling Selection