Closed romk1n closed 8 years ago
I am not sure whether this solution is good. You are setting selector in the DGRunkeeperSwitch. I would say that we have to just give UIPanGestureRecognizer to the DGRunkeeperSwitch and the only thing switch has to do, is set the delegate to itself. Thoughts?
The idea of additional pan gesture recognizer is ability to pan on the other view to control the switch. i.e. if Switch is the navigation bar, this pull request allows to pan on the main view to switch between the too :)