-(void) spacing


#1

I am just curious if there is a reason why method declarations have a space after the minus and before the parenthesis.

From experience it doesn’t seem to make any difference if I type

Is there a best practice for this or is it personal preference?

Thanks.


#2

We follow Apple’s convention:

That is, a space after the minus and before the parenthesis. No space after the colon.


#3

Aaron,

Thanks for the clarification.

Forrest