• Stars
    star
    650
  • Rank 69,267 (Top 2 %)
  • Language
    Objective-C
  • Created about 12 years ago
  • Updated over 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A port of the $1 Unistroke Recognizer (aka Dollar Gesture Recognizer) to iOS as a UIGestureRecognizer.

$1 Unistroke Gesture Recognizer for iOS

CMUnistrokeGestureRecognizer 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.

CMUnistrokeGestureRecognizer

Support

CMUnistrokeGestureRecognizer is provided open source with no warranty and no guarantee of support. However, best effort is made to address issues raised on Github.

If you would like assistance with integrating CMUnistrokeGestureRecognizer or modifying it for your needs, contact the author Chris Miles [email protected] for consulting opportunities.

License

CMUnistrokeGestureRecognizer is Copyright (c) Chris Miles 2012 and released open source under a MIT license.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

More Repositories

1

CMPopTipView

Custom UIView for iOS that pops up an animated "bubble" pointing at a button or other view. Useful for popup tips.
Objective-C
2,734
star
2

DynamicXray

iOS UIKit Dynamics runtime visualisation and introspection library.
Objective-C
561
star
3

EZForm

iOS form handling and validation library.
Objective-C
285
star
4

CMTraerPhysics

Objective-C/Cocoa port of the Traer v3.0 physics engine; with iOS demo app.
Objective-C
121
star
5

CMTextStylePicker

iOS view controller tree for presenting a text font/size/colour picker to user.
Objective-C
98
star
6

FancySegue

Fancy storyboard segue transitions rendered with OpenGL ES. Originally presented during the OpenGL ES for iOS 5 talk by Chris Miles at Swipe Conference 2012.
Objective-C
60
star
7

OrganisingCoreData

Organising Core Data Demo iPhone App
Objective-C
37
star
8

ProximityLight

Automagical LIFX bulb control from Estimote iBeacon proximity events.
Objective-C
19
star
9

SwipeOpenGLTriangles

Demo app from the OpenGL ES for iOS 5 talk by Chris Miles at Swipe Conference 2012.
Objective-C
11
star
10

Swipe3D

Demo app from the OpenGL ES for iOS 5 talk by Chris Miles at Swipe Conference 2012.
C
10
star
11

SliceTool

OS X command-line tool to slice up images at multiple resolutions for use in a CATiledLayer.
Objective-C
9
star
12

AHEasing

A library of easing functions for C, C++ and Objective-C
Objective-C
5
star
13

GLPixelAccuratePerspective

Objective-C
4
star
14

MacSceneKitTemplate

Simplest Mac SceneKit application - to use as a template
Objective-C
2
star
15

DIYMeteorology

DIY Meteorology Weather Station
Arduino
1
star
16

Arduino-Footprints

IDL
1
star
17

CMBluetoothKit

Objective-C
1
star