objective c - (UIApplication *) Why is there a space before the asterisk? -


-(void)applicationdidfinishlaunching:(uiapplication *) app { 

after uiapplication why there space before asterisk?

this characteristic c code, i'm new objective-c forgive me if isn't proper objective c syntax. answer question. answers being style correct regard parameter such given in question. issue when declaring multiple variables on single line in c or c++ (this part i'm not sure if obj-c supports this).

int* i; 

and

int *i; 

are equivalent; when dealing multiple declarations

int* i, j; 

is not same as

int *i, *j; 

the * applied variable , not int, require * on each variable wish make pointer.

so purpose of having space after class name stylistic nod that.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -