-(void)applicationDidFinishLaunching:(UIApplication *) app {
after UIApplication, why is there a space before the asterisk?
This is a feature from C code , I'm fairly new to Objective-C, so forgive me if this is the wrong target for C syntax. He will answer the question. Answers that this is a style are mostly correct with respect to a parameter such as the one asked in the question. Where the problem is, it is declaring several variables on the same line in C or C ++ (this is the part where I'm not sure if Obj-C supports it).
int* i;
and
int *i;
are equivalent; however, when working with multiple ads
int* i, j;
does not match
int *i, *j;
* i, int, * , .
, .
, , ; , , (.. NSString *aString;, NSString* aString;, , , ).
NSString *aString;
NSString* aString;
, , , - (NSString *) someMethod; - (void) someMethodWithAnArgument:(NSString *)argumentName;, .
- (NSString *) someMethod;
- (void) someMethodWithAnArgument:(NSString *)argumentName;
Actually, int *i; int* i;and (int *) i; all mean different things. The first two are pointers. But the latter actually says that "i" returns a pointer to an int. So in:
(int *) i;
This actually means that the "application" returns a pointer
Source: https://habr.com/ru/post/1768506/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1768501/c-access-to-container-of-sharedptr-should-return-raw-or-shared-ptr&usg=ALkJrhi3wo_UvvU2GptrCTYSgy3qcAlsOACodeigniter how to create a template - templatesCompare Two Lines ArrayLists - comparisonSubmission Method + WinHttpRequest + multipart / form-data - vb6GWT RPC and persistent Java objects - gwtWhen should the .Header.DataBind page be called? - jqueryAndroid UI: Which layout options are mutually exclusive? - androidFinding the nth prime using Python - pythonThe power to close all open pop-ups from code - c #How to check if a text field is really active or has focus? - c #All Articles