title: Mix CABasicAnimation with CGAffineTransform animation
body: <p>I need to rotate an UIImageView continuously. To do this I found this code :</p>
  
  <pre><code>if ([self.image.layer animationForKey:@"SpinAnimation"] == nil) {
  
          CABasicAnimation* animation = [CABasicAnimation animationWithKeyPath:@"transform.rotation.z"];
          animation.fromValue = [NSNumber numberWithFloat:0.0f];
          animation.toValue = [NSNumber numberWithFloat: 2 * M_PI];
          animation.duration = 90.0f;
          animation.repeatCount = INFINITY;
          [self.image.layer addAnimation:animation forKey:@"SpinAnimation"];
      }
  </code></pre>
  
  <p>Then, I need to make a transform translation on the image view, animating it. If I do this :</p>
  
  <pre><code>CGAffineTransform transform = self.image.transform;
  transform = CGAffineTransformTranslate(transform, 0, 350);
  [UIView animateWithDuration:1.0f animations:^{
  
          [self.view layoutIfNeeded];
          self.image.transform = transform;
      } completion:^(BOOL finished) {
  
          self.isMiddleViewOpened = YES;
      }];
  </code></pre>
  
  <p>When the animation is performed, the image float all around the view before arriving to the end point of the translation. 
  Thanks ☺️</p>
  
  <p><strong>EDIT</strong>
  I have issue because in my second transform I edit only the y value, but the image doesn't move only on y axis. If you try this code, you'll see the issue</p>