Reputation: 33
what is syntax for CGAffineTransformConcat in swift 3?
because on using it shows the error:
use of unresolved identifier "CGAffineTranformConcat"
please help me somebody
Upvotes: 2
Views: 1097
Reputation: 72410
In Swift 3 it is changed to concatenating(_:)
. So you need to write it like this way.
let newTransform = transform1.concatenating(transform2)
Upvotes: 7