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 answers

0
Nirav D 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)