NSScrollView replacement which scrolls by manually updating its content,
instead of changing the content view's frame origin.
It works on Snow Leopard and Lion, with (or without) overlay scrollers.
MyScrollView is suitable for the document whose size is changed dynamically,
or may be very large and sparse.
I wrote it for my Life Game application.
In contrast, NSScrollView is designed that its document view has the same size
as the document itself, and it's difficult to change the document size dynamically.
- add MyScrollView.h/.m and MyScroller.h/.m to your project,
- make your content view to conform to MyScrollContent protocol, and
- see MyContentView class in the example project for more detail.
- doesn't hide scrollers when the document is smaller than the content view.