开发者

setIntercellSpacing: error

开发者 https://www.devze.com 2023-01-15 14:57 出处:网络
How do you use this method properly, I get \"Conversion to non-scalar type requested\" upon compile. When executing the method like so: [tableView setIntercellSpacing:(NSSize)(4.0, 5.0)];开发者_开发百

How do you use this method properly, I get "Conversion to non-scalar type requested" upon compile. When executing the method like so: [tableView setIntercellSpacing:(NSSize)(4.0, 5.0)];开发者_开发百科

Any Ideas? thanks.


Oh wait, got it.

This is how you do it: [tableView setIntercellSpacing:NSMakeSize(2.0, 5.0)];

0

精彩评论

暂无评论...
验证码 换一张
取 消