noteHeightOfRows(withIndexesChanged:)
Informs the table view that the rows specified in indexSet have changed height.
Declaration
func noteHeightOfRows(withIndexesChanged indexSet: IndexSet)Parameters
- indexSet:
Index set of rows that have changed their height.
Discussion
If the delegate implements tableView(_:heightOfRow:) this method immediately retiles the table view using the row heights the delegate provides.
For NSView-based tables, this method will animate. To turn off the animation, create an NSAnimationContext grouping and set the duration to 0. Then call this method and end the grouping.
For NSCell-based tables, this method normally doesn’t animate. However, it will animate if you call it inside a beginUpdates()/endUpdates() block.