title: Use two different UIViewAnimationCurves in the same animation
body: <p>I want to be able to use one UIViewAnimationCurve for rotations and another for changes in position.  Is this possible?</p>
  
  <p>For example (in pseudo code);</p>
  
  <pre><code>// Begin animations
  
  // Set rotation animation curve to EaseInOut
  
  // Set position animation curve to Linear
  
  // Make some changes to position
  
  // Make some change to the angle of rotation
  
  // Commit the animations
  </code></pre>
  
  <p>EDIT: (CAAnimationGroup approach suggested below) - Have created 2 separate CABasicAnimations and a CAAnimationGroup however the animations are not starting.  Any ideas?</p>
  
  <pre><code>CABasicAnimation *postionAnimation = [CABasicAnimation animationWithKeyPath:@"position"];
  postionAnimation.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionLinear];
  postionAnimation.toValue = [NSValue valueWithCGPoint:[self transformPointToWorldSpaceFromViewSpace:self.spriteView.position]];
  postionAnimation.delegate = self;
  
  CABasicAnimation *rotationAnimation = [CABasicAnimation animationWithKeyPath:@"transform.z"];
  rotationAnimation.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
  rotationAnimation.toValue = [NSNumber numberWithFloat:self.spriteView.angle -= M_PI_2];
  rotationAnimation.delegate = self;
  
  CAAnimationGroup *animationsGroup = [CAAnimationGroup animation];
  animationsGroup.duration = self.clockSpeed;
  animationsGroup.animations = [NSArray arrayWithObjects:postionAnimation, rotationAnimation, nil];
  
  // Perform the animation
  [self.spriteView.layer addAnimation:animationsGroup forKey:nil];
  </code></pre>