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
Post a Comment