This sample illustrates how to work with touch in iOS. Specifically, it shows how to handle touch events, use pre-defined gesture recognizers, and create custom gesture recognizers.
Bryan Costanich