columnIndexes(in:)
Returns the indexes of the table view’s columns that intersect the specified rectangle.
Declaration
func columnIndexes(in rect: NSRect) -> IndexSetParameters
- 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.