Complex gesture recognition is a topic that I’ve brought up a number of times and I’ve mentioned ports of the $1 Unistroke gesture recognizer for iOS in the past, and mentioned a library implementing the $P gesture recognizer for iOS a couple of days ago.
Shortly after that post I received a tip about a new iOS port of the $1 Unistroke gesture recognizer by Chris Miles.
This port offers a number of advantages over the previous implementations as mentioned on Chris’s blog including:
– Recognition of multiple gestures
– Standard UIGestureRecognizer callback for success
– Template paths defined by UIBezierPath objects
– Optional callbacks for tracking path drawing and recognition failure
– Configurable minimum recognition score threshold
– Option to disable rotation normalisation
– Option to enable the Protractor method for potentially faster recognition
You can read about CMUnistrokeGesture on Chris’s blog here.
You can find CMUnistrokeGesture on Github here.
A nice example app is included demonstrating a wide variety of gestures.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.