Multiple CGAffineTransforms in Swift 3
In Swift 3 many global C functions are mapped to member functionsof the corresponding type, compare"Import as member" on swift-evolution.
In your case it would be
let rotate = CGAffineTransform(rotationAngle: 1.0)let stretchAndRotate = rotate.scaleBy(x: 0.8, y: 0.8)