Implements the family of popular dollar recognizers in swift and expose them as a set of custom UIGestureRecognizer subclasses.
For a detailed discription on how all this works refer to the papers
For example usage refer to DollarGestureRecognizerExampleVC.swift.
- Load templates from bezier paths.
- UIGestureRecognizer subclasses for single and multiple stroke patterns.
- XML parsers for loading templates.
- Comes with standard templates loaded in the bundle
Cocoa pods
# Add this to your Podfile
pod 'DollarGestureRecognizer', :git => 'https://github.com/DanielCardonaRojas/DollarGestureRecognizer', :branch => 'develop', :tag => 'v1.0.1'
- $1 recognizer with protractor optimization
- $Q recognizer
- $P recognizer
- $N recognizer
- Record templates
- Use automatic mechanisms for gesture completion on multiple stroke detection (idle timeout, or stroke count)