Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
NSAffinetransform有没有人有任何很好的例子来解释和之间的区别CGAffinetransform??谢谢
NSAffinetransform
CGAffinetransform
一个区别是 NSAffineTransform 是一个对象,而 CGAffineTransform 是一个结构。
简单的答案:NSAffinetransform它适用于 Mac osxCGAffinetransform是适用于 iOS 但是这些类之间存在差异