title: iOS - Advancing an Animation in Realtime While Panning with UIPanGestureRecognizer
body: <p>Basically I want to replicate the spinning of a globe.</p>
  
  <p>In the real world you'd put your finger on the globe and and move it to the right and while you are moving your finger the globe spins to the right.</p>
  
  <p>On an iPhone it's not that simple... </p>
  
  <p>It could be something as simple as a finger comes down on the screen and point X is grabbed and then when the finger moves one pixel to the right the globe spines one frame to the right and the origin changes to the new spot. Then if the finger moves back to the original spot the globe spin one frame to the left. All with out picking up your finger... </p>
  
  <p>So how might I go about this? I assume there is a "whileTouching" event that would run constantly / every 500ms / etc... </p>
  
  <p>Anyone know of some sample code like this?</p>
  
  <p><strong>Edit</strong>: The advancing the frame itself I can manage just the capturing of the touch event I can't figure out.</p>