In this tutorial, we're going to add a Swipe Gesture Recognizer to our View Controller through code, instead of storyboard. A pretty simple tutorial with only 3 steps:
Steps:
1) Create a recognizer for each gesture
2) Add gestures to viewDidLoad()
3) Create @objc method to respond to the gestures
Starter project: https://github.com/michaelmiles1/Swip...
Finished project: https://github.com/michaelmiles1/Swip...
Twitter: / milesoftweets
Instagram: / michaelmilestv