[已解决]Swift代码出错:Binary operator / cannot be applied to operands of type CGFloat and Int
crifan 9年前 (2015-10-09) 5886浏览 0评论
[背景] swift中,如下代码: let rect:CGRect=CGRectMake(0,0,floorf(self.view.bounds.size.width / count),self.tabBarHeight) 出错: swift:123...