title: Whats the Swift animate WithDuration syntax?
body: <p>I'm porting an older app over to Xcode 7 beta and I'm getting an error on my animations:</p>
  
  <blockquote>
    <p>Cannot invoke 'animateWithDuration' with an argument list of type
    '(Double, delay: Double, options: nil, animations: () -> _,
    completion: nil)'</p>
  </blockquote>
  
  <p>Here's the code:</p>
  
  <pre><code> UIView.animateWithDuration(0.5, delay: 0.3, options: nil, animations: {
        self.username.center.x += self.view.bounds.width
      }, completion: nil)
  </code></pre>
  
  <p>This works in Xcode 6 so I'm assuming this is an update in Swift. So my question is:</p>
  
  <p><strong>What's the Swift 3 syntax for animateWithDuration?</strong></p>