Learn your way! Get started

iOS Dev Using Objective-C, Part 3: Gestures

with expert David Solberg

Watch trailer

iOS Dev Using Objective-C, Part 3: Gestures Trailer

Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack
  • Power Pack Plus

Release date Release date 11/19/2012
Level Level Intermediate
Runtime Runtime 1h 41m
Platform Platform Major browsers on Windows Major browsers on Windows Major browsers on Mac OSX Major browsers on Mac OSX Mobile Devices Mobile Devices
Closed captioning Closed captioning N/A
Transcript Transcript N/A
eBooks / courseware eBooks / courseware N/A
Hands-on labs Hands-on labs N/A
Sample code Sample code Included
Exams Exams Included

Enterprise Solutions
Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More

Course description

In this course we look at the basic UITouch object that represents a touch, then use its properties and methods to manipulate the interface. Then gesture recognizers are introduced as Apple's solution to managing multiple types of interaction in the same view or views. Next we add zooming and rotating to the collection of gesture recognizers that will work on a view. Then we further refine our code to center all events and changes based on the centroid of the user interaction.


This course assumes that students have a general understanding of programming concepts in Xcode and Objective C.

Meet the expert

David Solberg David Solberg has been developing iOS applications for several years for both consumers and enterprises. He has multiple applications in the App Store in addition to numerous private applications for internal business use. He is co-organizer of the Twin Cities, Minnesota, Meetup group for iOS developers. In addition to his many years training people to use technology, David has architected online assessment systems.

Course outline


Responding to Touch (29:08)
  • Introduction (00:34)
  • iOS Representation of Touches (01:19)
  • iOS Touch Hierarchy (01:30)
  • UIView Response Options (00:55)
  • Parsing Touch Methods (01:08)
  • Other Touch Information (02:20)
  • Demo: Touch (06:00)
  • Demo: Responding to Touch (12:13)
  • Demo: Zooming with Touch (02:41)
  • Summary (00:24)
Gesture Recognizer Basics (24:17)
  • Introduction (00:40)
  • Problems with Using Touches (01:09)
  • UIGestureRecognizers (01:40)
  • Gesture Fundamentals (01:54)
  • Recognizer States (02:30)
  • Continuous Recognizers (00:58)
  • Recognizer properties/methods (01:38)
  • Demo: Adding Recognizer (04:23)
  • Demo: Adding Recognized Event (04:28)
  • Demo: Resetting Translation (03:18)
  • Demo: Recognizer Variables (01:05)
  • Summary (00:27)
More Recognizers (19:39)
  • Introduction (00:35)
  • Demo: Pinch to Zoom (07:30)
  • Demo: Rotation Recognizer (04:02)
  • Demo: Rotation Transform (03:02)
  • Demo: Recognizer Delegate Method (04:06)
  • Summary (00:23)
Recognizer Cooperation (28:44)
  • Introduction (00:38)
  • Demo: Recognizer Cooperation (05:06)
  • Demo: Calculating The Anchor (06:00)
  • Demo: Tap Recognizers (05:23)
  • Demo: Double Tap Recognizer (03:31)
  • Reminders (02:12)
  • Advanced Gesture Recognizers (03:11)
  • Build Your Own (02:11)
  • Summary (00:29)