In this video, we're going to create unit tests for a Swipe Gesture Recognizer. It works a bit differently than normal unit tests because you have to remove & create a mock recognizer, but if you're familiar with unit testing this should be easy for you.
Steps:
1) Set up unit testing environment
2) Remove existing gesture recognizers
3) Add a mock gesture recognizer
4) Write the tests
Starter project: https://github.com/michaelmiles1/Unit...
Final project: https://github.com/michaelmiles1/Unit...
Twitter: / milesoftweets
Instagram: / michaelmilestv