Animate NSView’s scrollToVisible

When I ported my game Empire for macOS (see: to iOS (see: I noticed a much nicer scrolling behaviour there. There are a lot of smaller and more fundamental differences in programming for these two operating systems, especially between AppKit and UIKit and animation is one of them.