title: How to transpose this code to Swift2?
body: <p>Code:</p>
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()        
      //animation
      
      dialogView.transform = CGAffineTransformMakeScale(0.0, 0.0)
       }
  
  override func viewDidAppear(animated: Bool) {
              UIView.animateWithDuration(0.7, delay: 0.1, options: nil, animations: [self.dialogView.transform = CGAffineTransformMakeScale(1, 1)], completion: nil)
  </code></pre>
  <p>I am getting these two errors:</p>
  <blockquote>
  <p>Nil is not compatible with expected argument type 'UIViewKeyframeAnimationOptions'</p>
  <p>Cannot invoke 'animateWithDuration' with an argument list of type '(Double, delay: Double, options: NilLiteralConvertible, animations: [()], completion: NilLiteralConvertible)'</p>
  </blockquote>