title: Moving and animating a UIView
body: <p>I am trying to make a simple animation. I want to move an UIImageView to the right by using [UIView animateWithDuration....</p>
  
  <p>Here is my code:</p>
  
  <p>file.h</p>
  
  <pre><code>{
   IBOutlet UIImageView *moveImage;
  }
  </code></pre>
  
  <p>file.m</p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
      //Move Image
  
      moveImage.center = CGPointMake(moveImage.center.x, moveImage.center.y);
      [UIView animateWithDuration:2.0
                       animations:^{ moveImage.center = CGPointMake(moveImage.center.x + 60.0, moveImage.center.y); }];
  
  }
  </code></pre>
  
  <p>When I run the iOS Simulator it shows the image at the new x coordinate, but it doesn't
  show the animation. Any help would be greatly appreciated. Thank you in advance.</p>