Please enable JavaScript.
Coggle requires JavaScript to display documents.
ObjectiveC & Swift (Auto Layout (Contraint, Contraint tuong doi, tuyet…
ObjectiveC & Swift
-
NSLog ("%p - %p", numA, numB);
printf("%d\n", *numB);
NSString - Objective-C => @ prefix
C String - C programming lang => "string"
C++ String - C++ => ""
JS String => ""
Swift String => ""
char cname[] = "Steve Jobs";
NSString name = [NSString stringWithUTF8String:cname]
NSLog("%@", name); printf(%s\n",cname);
() char* dynamicString = malloc(strlen("Hello")+1); => free(dynamicString);
-
- (void) say: (NSString) firstName and: (NSString) lastName {}
(- instance method, + class method)
-
Auto Layout
-
Contraint tuong doi, tuyet doi, ti le
-
-
-
-
-