CM Unistroke Gesture Recognizer - iOS App Source Code

  • CM Unistroke Gesture Recognizer - iOS App Source Code
  • CM Unistroke Gesture Recognizer - iOS App Source Code
  •     Description   

  • CM Unistroke Gesture Recognizer is a port of the $1 Unistroke Recognizer (aka Dollar Gesture Recognizer) to iOS by Chris Miles.

    Read more about it at http://blog.chrismiles.info/2012/12/introducing-cmunistrokegesturerecognizer.html

    The $1 Unistroke Recognizer was originally authored by:

    Jacob O. Wobbrock, University of Washington

    Andrew D. Wilson, Microsoft Research

    Yang Li, University of Washington

    CMUnistrokeGestureRecognizer is a UIGestureRecognizer subclass, able to recognize any number of unistroke gestures configured by the user. Stroke paths are registered as UIBezierPath objects, making it easy to create and display paths.

    The core unistroke recognizer algorithm is written in C, although uses GLKVector2 and GLKMath for high performance vector math on iOS devices. As such, the GLKit framework is required. Unit tests are included.

    CMUnistrokeGestureRecognizer is open source, released under an MIT license.

    A demo iOS application is included, showing how CMUnistrokeGestureRecognizer can be used and containing all the test strokes used by the algorithm authors. The demo app is open source and released under a MIT license.