Matt Gemmell

My new book CHANGER is out now!

An action-thriller novel — book 1 in the KESTREL series.

★★★★★ — Amazon

Grab-scrolling in an NSImageView

source 1 min read

Thought this might be useful to someone (even if it is incredibly simple); a little example 
project showing how to do proper grab-scrolling (drag-scrolling) in an NSImageView.



<a href="http://www.scotlandsoftware.com/ftp/source/grabscroll.tgz">Download the source here</a> 
(41k .tgz). Includes executable, and the two little hand-cursor TIFFs (open/grabbing). 
Probably requires 10.2 or later Dev Tools.