user3076539
user3076539

Reputation: 53

How to using NSAffineTransform

I want to use NSAffineTransform but not get an alert:

"Unknown type name 'NSAffineTransform' did you mean 'CGAffineTransform'?"

How to use it?

Upvotes: 0

Views: 519

Answers (2)

Gajendra Rawat
Gajendra Rawat

Reputation: 3663

NSAffineTransform class is available in Cocoa framework for the Mac OS X development. And CGAffineTransform class is available in the Cocoa Touch framework for the iOS application development. If you implementing application in iOS Use CGAffineTransform.

Upvotes: 1

anon
anon

Reputation:

The NSAffineTransform class is not available on iOS. You will have to use the C-based CGAffineTransform API instead.

Upvotes: 1

Related Questions