Swift implementation of
UIScrollView-like view based upon Ole Begemann's example.
I needed some custom behavior from
UIScrollView and came across an outstanding blog post: Understanding UIScrollView. This happened as I was learning Swift and iOS development in general, so I figured translating the example to Swift would be a good exercise.
To demonstrate a reason why you'd want to make a custom scrolling view, the included
ViewController sets one
UIPanGestureRecognizer to control two