A Swift rewrite of Custom Knob Tutorial from raywenderlich.com.