title: Label animation in Swift
body: <p>I want to create a transition effect on my label so that it comes out from the left side of the view and centre itself in the middle of the screen. I am doing:</p>
  
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()
  
      label.center.x -= view.bounds.width
  
  } 
  </code></pre>
  
  <p>to place the label out of the view, but this is not working as the label is still present in the view. Please help.</p>