rect(ofColumn:)
Returns the rectangle containing the column at the specified index.
Declaration
func rect(ofColumn column: Int) -> NSRectParameters
- column:
The index in the Tablecolumns array of a column in the table view.
Return Value
The rectangle containing the column at columnIndex. Returns NSZeroRect if columnIndex lies outside the range of valid column indexes for the table view.
Discussion
You can use this method to update a single column more efficiently than sending the table view a reloadData() message.
[aTableView setNeedsDisplayInRect:[aTableView rectOfColumn:column]];