Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Update project for Xcode 5

latest commit 1890a848ad
Jonathan Penn authored
Failed to load latest commit information.
GestureExample.xcodeproj
GestureExample Demonstrate a continuous bezel gesture recognizer
.gitignore Updated .gitignore for private xcworkspace stuff
LICENSE
README.md Updated Readme

README.md

GestureExample

This is a demo application that I use to accompany my iOS Gesture Recognizers Intro talk. It lets us walk through how they work and compete for touches.

How It Works

All the magic happens in CMNDisplayViewController. Each of the recognizers are set up in the method setupGestureRecognizers and added to the main table view. Each recognizer is also observed with KVO so that the state changes can be updated with printStateChangeOfGestureRecognizer:.

I demonstrate using custom gesture recognizers for tracking touches, a bezel swipe, and the PRNCircleGestureRecognizer from the iOS Recipies book by Paul Warren and Matt Drance.

Contact

Questions? Ask!

Jonathan Penn

License

GestureExample is available under the MIT license. See the LICENSE file for more info.

PRNCircleGestureRecognizer is Copyright 2010 Primitive Dog Software.

Something went wrong with that request. Please try again.