Problem with Mavericks: noteHeightOfRowsWithIndexesChanged: not animating

When [myTableView noteHeightOfRowsWithIndexesChanged: myIndexSet] inside the NSAnimationContext group, the NSAnimationContext heights are animated by 10.8 but not changed by 10.9: it instantly jumps to the final height.

After some experimentation, I found that it does animation at 10.9 unless you put this call into the table view in the NSAnimationContext group.

This result is a chip because I wanted to have other animations in rows synchronized with the height animation from the table view. Any ideas?

+1
objective-c animation osx-mavericks nstableview
Jan 04 '14 at 17:20
source share
1 answer

You can try setAllowsImplicitAnimations: YES

For performance or obsolete reasons, some AppKit interface objects may not set this default value. The hard part is the inheritance bit. In many things, there are important parts that are inherited, but not always clearly documented in the direct documents of objects. Here are some of them related to AppKit release notes or WWDC videos only.

+1
Apr 05
source share



All Articles