iThakur
iThakur

Reputation: 33

syntax for cgaffinetransformconcat in swift 3?

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

Answers (1)

Nirav D
Nirav D

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

Related Questions