title: best simplest code to move a UIImage View from point A to point B
body: <pre><code>@IBOutlet weak var imageView: UIImageView!
  
  override func viewWillAppear(animated: Bool) {
      self.imageView.center.y -= view.bounds.height
  }
  override func viewDidAppear(animated: Bool) {
      UIView.animateWithDuration(0.5, delay: 0.3, options: nil, animations: {
          self.imageView.center.y += self.view.bounds.height
      }, completion: nil)
  }
  </code></pre>
  
  <p>This code does successfully move the image view across the screen, but I'm not sure how to make it stop where I want it to. It just slides off the screen. The goal is to move the image from point A to point B. If there is another easier way to do this I would be happy to know. Thanks!</p>