Swipe interface

I’m thinking of the apple timer interface where you swipe a section of the screen up or down and then numbers rotate (looped) according to how fast/long you swiped for. Really have no idea where to start and this is bogging down a program I’m trying to make…any suggestions/help/sample code?

Thank you

Try this link.