iOS Dev Using Objective-C, Part 3 of 4: Gestures
Interactive

iOS Dev Using Objective-C, Part 3 of 4: Gestures

LearnNow Online
Updated Aug 23, 2018

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.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

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.

Video Runtime

101 Minutes

Time to complete

172 Minutes

Course Outline

Recognizers

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)
;