Gesture Recognizers in iOS
Touch interaction is a fundamental component of iOS and UIGestureRecognizer is the key to easy-to-use gestures beyond simple button taps. Learn about it here! By Catie Catterwaul & Jessy Catterwaul.
Learn a bit of the history of gesture recognizers in iOS, and what we will be covering in this course.
Attach a UIPanGestureRecognizer to a view in Interface Builder, and write some Swift to have your pan gestures interact with that view.
Leverage UIKit's animation API, combined with information from your pan gesture recognizer, to decelerate a view you toss around the screen.
Manipulate the CGAffineTransform associated with a view based on pinch and rotation gestures. Also, learn to use multiple gesture recognizers at once!
Practice working with the types of gesture recognizers you've already learned about, resulting in simultaneous control of multiple views with multiple gestures.
Extend your knowledge of creating gesture recognizers, from Interface Builder, to Swift, and get introduced to UIGestureRecognizerDelegate.
Now that you're familiar with how to use existing gesture recognizers, you'll dive into their inner workings, creating one of your own.
Even though the app you've made in this course is small, you've written quite a bit of math-heavy code. simd can make that easier on you in the future!
With a primer to simd under your belt, see if you can finish tidying up the vector math that your gesture recognizers rely on.
Review all the types of UIGestureRecognizers you've learned about, and get a recommendation on where to learn more.