Get Updates By E-mail 

Subscriber Counter
Article Written By:
Johann Dowa

Open Source iOS Library For Easily Detecting Movement Speed And Type Of A User

I’ve mentioned a number of examples utilizing the location capabilities of iOS devices, most recently a library that displays local images to users and an example app called Doppio for finding the nearest Starbucks added to the open source apps list.

Here’s a library submitted by Artur Mkrtchyan that allows you to easily determine how fast a user is moving and allows you to easily know if a user is not moving, walking, running or in a moving vehicle called SOMotionDetector.

SOMotionDetector’s algorithm to determine movement utilizes the accelerometer, and location updates so it will work on older devices as long as they are running iOS 6.0 or higher.

There are methods built in to notify you of changes in movement, speed, and you can tweak the settings for each type of movement.

Here’s an image from the readme showing the included example project in action:

SOMotionDetector

You can find SOMotionDetector on Github here.

A nice library for easily determining the motion of a user.

Thanks to Artur for the submission.

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