tags:

views:

8

answers:

1

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.

+1  A: 

Oh wait, got it.

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

James Eggers
You can try to use [tableView setIntercellSpacing:(NSSize){4.0, 5.0}]; but correct answer of course is using NSMakeSize function
Vladimir
thanks @Vladimir
James Eggers