syntax for cgaffinetransformconcat in swift 3?

1.1k Views Asked by At

what is syntax for CGAffineTransformConcat in swift 3?

because on using it shows the error:

use of unresolved identifier "CGAffineTranformConcat"

please help me somebody

1

There are 1 best solutions below

0
On BEST ANSWER

In Swift 3 it is changed to concatenating(_:). So you need to write it like this way.

let newTransform = transform1.concatenating(transform2)