Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source Library For Easy Recognition And Recording Of Complex Path Gestures

  •  
  •  
  •  
  •  
  •  

Some time ago I mentioned a nice guide explaining how one could go about the recognition of complex path gestures.

Here’s an open source library from Didier Brun that provides a nice Swift based syntax with easy path recording and recognition of advanced gestures called DBPathRecognizer.

To recognize gestures DBPathRecognizer uses an 8 direction path recognizer with the ability to specify a max gesture cost to ignore to ignore overly complex gestures, a special syntax for filtering path’s in case some gestures get confused with each other because they are too similar and more.

This animation from the readme shows DBPathRecognizer in action:

DBPathRecognizer

You can find DBPathRecognizer on Github here.

A nice library for recognizing complex 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.

Comments