Contents

columnIndexes(in:)

Returns the indexes of the table view’s columns that intersect the specified rectangle.

Declaration

func columnIndexes(in rect: NSRect) -> IndexSet

Parameters

  • rect:

    The rectangle in the table view’s coordinate system to test for column enclosure.

Return Value

New NSIndexSet object containing the indexes of the table view’s columns that intersect with rect.

Discussion

Columns that return true for the NSTableColumn method isHidden are excluded from the results.

See Also

Layout Support