[IOS] 'Double' is not convertible to 'CGFloat'
在做一个对象旋转的时候,要求转动的弧度角,这个地方报错,如题的错误,其实是类型转换的问题,swift不能静静的做类型转换,一定要显式的转换typeTableView?.transform=CGAffineTransformMakeRotation(-M_PI/2)改变一下就可以了typeTableV...
IOS开发中的CGFloat、CGPoint、CGSize和CGRect
IOS开发中的CGFloat、CGPoint、CGSize和CGRecthttp://developer.apple.com/library/ios/#documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.htm...
[转]IOS开发中的CGFloat、CGPoint、CGSize和CGRect
http://developer.apple.com/library/ios/#documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.htmlCGGeometry类定义几何元素的结构和操作几何元素的函数。1、数据...