Came across this error when trying to do adapt some animations into Swift3 syntax.
UIView.animate(withDuration: duration, delay: 0.0, usingSpringWithDamping: 0.5,
initialSpringVelocity: 0.8, options: [] , animations: {
fromView.transform = offScreenLeft
toView.transform = CGAffineTransformIdentity
}, completion: { finished in
transitionContext.completeTransition(true)
})
and got this:
'CGAffineTransformIdentity' is unavailable in Swift