title: UIView animation VS core animation
body: <p>I'm trying to animate a view sliding into view and bouncing once it hits the side of the screen.</p>
  
  <p>A basic example of the slide I'm doing is as follows:</p>
  
  <pre><code>// The view is added with a rect making it off screen.
  [UIView beginAnimations:nil context:NULL];
  [UIView setAnimationBeginsFromCurrentState:YES];
  [UIView setAnimationDuration:0.07];
  [UIView setAnimationCurve:UIViewAnimationCurveLinear];
  [UIView setAnimationDelegate:self];
  [UIView setAnimationDidStopSelector:@selector(animationDidStop:finished:context:)];
  [theView setFrame:CGRectMake(-5, 0, theView.frame.size.width, theView.frame.size.height)];
  [UIView commitAnimations];
  </code></pre>
  
  <p>More animations are then called in the didStopSelector to make the bounce effect. The problem is when more than one view is being animated, the bounce becomes jerky and, well, doesn't bounce anymore.</p>
  
  <p>Before I start reading up on how to do this in Core Animation, (I understand it's a little more difficult) I'd like to know if there is actually an advantage using Core Animation rather than UIView animations. If not, is there something I can do to improve performance?</p>