Below is a simple sample code in objecitve-c on how to write “Hallo World” string:
1 2 3 4 5 6 7 8 9 10 | #import <Foundation/Foundation.h> int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSLog (@"Hallo World"); [pool drain]; return 0; } |
Follow Us!