title: How to create a controllable flip effect (flip as far (and fast) as you drag) of an UIView
body: <p>I have a card (a flashcard you could say)</p>
  
  <p>What I can do:</p>
  
  <p>On fingersweeping over the flashcard the card gets turned. It's happening by detecting
  touchesBegan and touchesMoved and then I do stuff like</p>
  
  <pre><code>[UIView beginAnimations:@"View Flip" context:nil]; 
  [UIView setAnimationDuration:0.5]; 
  [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
  if (left) {
      [UIView setAnimationTransition: UIViewAnimationTransitionFlipFromLeft forView:self.flashCardView cache:YES];
  }else{
      [UIView setAnimationTransition: UIViewAnimationTransitionFlipFromRight forView:self.flashCardView cache:YES];
  }
  </code></pre>
  
  <p>What I can't do (but want to):</p>
  
  <p>I want to somehow drag the flip.
  Imagine this, you have a flashcard and you think you know the answer, you start flipping the card around because you want to see if you are correct, but then... no stop... you hesitate, turn back the card to the way it was, rethink, get the real answer and then finally flip to see that you were right to hesitate.</p>
  
  <p>Now I only have: once you start flipping, you can't stop it.</p>
  
  <p>So do you have any hints on how to do this ? something to read ? I'm still at the beginning of understanding cocoa and iPhone development</p>
  
  <p><strong>EDIT</strong> I'm more experienced now, but I still haven't done such custom animations, maybe someone can give me a lift ?</p>