OutlineViewDiffableDataSource
OutlineViewDiffableDataSource copied to clipboard
Fixes, enhancements and back porting to macOS 10.11
trafficstars
This PR includes a number of enhancements, fixes and a back-port of the diffing algorithm (taken from the open source Swift implementation) so that the module itself can be used on macOS 10.11.
I've also fixed a number of bugs present within the demo with some additional optimizations / tests. Duplicate code has been removed from a few places, plus the code is now easier to follow.
Along the way I've also fixed a few known glitches within NSOutlineView (such as parent nodes appearing with overlapping glyphs).
The PR also includes more documentation and some refactoring.