Create A Variable Slider With Adjustable Scrubber Speed Similar To The Music App

The iPhone’s music app (the iPod app) has an interesting horizontal variable slider.  What makes it interesting is that while it looks like a typical UISlider the further away from the slider you get vertically the finer the adjustment made when you slide your finger horizontally.

This is interesting functionality, and allows users to gain finer accuracy with a smaller scrubbing speed when making adjustments.  Recently, Ole Begemann was responding to a question and created an open source, MIT lice’s nsed, replacement slider which you can drop into your apps that provides functionality similar to the slider within the iPod app.

You can find a video displaying the functionality, the download links for the source code, and an in-depth explanation of how the code operates on Ole’s blog here:
OBSlider, a UISlider subclass with variable scrubbing speed

It makes for a very handy piece of code to have around.

Learn how to quickly build apps using Phonegap and Dreamweaver from the start through a series of videos and example projects.  Over 7 hours of video so far explaining what you need to know including maps, the camera api, and more.
Read more...
DeliciousTwitterFacebookLinkedInEmail
Tags: , , , , ,

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 send a Tweet to @maniacdev on Twitter or submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Click on a tab to select how you'd like to leave your comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>