Instance Method

columnIndexesInRect:

Returns the column indexes in the specified rectangle.

Declaration

- (NSIndexSet *)columnIndexesInRect:(NSRect)rect;

Parameters

rect

The rectangle in the view’s coordinate system.

Return Value

An index set containing the cell indexes.

See Also

Getting Columns and Rows Information

- numberOfColumns

Returns the current number of columns.

- numberOfRows

Returns the current number of rows.

- rectOfColumn:

Returns the rectangle containing the specified column.

- rectOfRow:

Returns the rectangle containing the specified row.

- rowIndexesInRect:

Returns the row indexes in the specified rectangle.