   touchesMoved
  Can some1 tell me how to get the startx, starty and endx, endy from the touchesMoved function being called on iphone?   
Seriously? The first parameter is a set of UITouch objects, and all you have to do is call locationInView with the view accepting the touches.   