Get Updates By E-mail 

Article Written By:
Johann Dowa

An Efficient Open Source iOS Multistroke And Single Stroke Complex Gesture Recognition Library

  •  
  •  
  •  
  •  
  •  

Some time ago I mentioned the $1 and $N gesture recognizer libraries that have been  ported to the iOS platform.  These libraries make it easy to recognize complex gestures made from multiple and single strokes.

Today I came across another gesture recognizer called the $P point cloud Objective-C gesture recognizer.  The advantage of this algorithm is that  it can handle both single and multistroke gestures efficiently.

As the homepage states:

Although about half of $P’s code is from $1, unlike both $1 and $N, $P does not represent gestures as ordered series of points (i.e., strokes), but as unordered point-clouds. By representing gestures as point-clouds, $P can handle both unistrokes and multistrokes equivalently and without the combinatoric overhead of $N.

Here’s an image from the homepage showing the demo app in action:

DollarP Objc Demo App Image

You can read more about $P gesture recognizer and download it from the homepage here.

A great project for handling different types of 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