title: Swift 2: Type of expression is ambiguous without more context
body: <pre><code>class Example: NSObject, UIViewControllerAnimatedTransitioning, UIViewControllerTransitioningDelegate {
  
  var aView : UIView!
  
  UIView.animateWithDuration(duration, delay: 0.0, usingSpringWithDamping: 0.8, initialSpringVelocity: 0.8, options: nil, animations: {
  
         self.aView.transform = CGAffineTransformIdentity //This line is throwing the error mentioned in the Title
  
  
              }, completion: { finished in
                  transitionContext.completeTransition(true)
        })
  
  
  }
  </code></pre>
  
  <p>This was working in earlier version of Swift but failing in version 2 not sure why</p>