I have NSOutlineView with rows of variable (in runtime) height. It’s simple to change the height immediately with outlineView: heightOfRowByItem: method in delegate. But I want to animate row height like during expanding/collapsing animation.
How to do this?
On your
NSOutlineViewcall noteHeightOfRowsWithIndexesChanged: like:This will animate the rows to the new height as returned by the
outlineView:heightOfRowByItem:delegate method.From the documentation: