OBSlider

Here’s an interesting modification to UISlider — OBSlider, which adds variable scrubbing speeds:

The iPod app on the iPhone has a nice feature: the user can slow down the scrubbing speed of the time slider by moving their finger vertically while dragging the slider. Yesterday, the question how to do this in our own code turned up on StackOverflow, which inspired me to find a solution. (By the way: I find this is an awesome way to improve my own coding skills. Find a question on SO that I cannot answer and try to work out a solution.)

The result is OBSlider, a drop-in replacement for UISlider with the addition of variable scrubbing speeds…

Looks like a pretty slick behaviour to add to your media-scrubbing sliders!

h/t: @joe_carney!

Alex | January 10, 2011

Leave a Reply