1 2 3 4 5 6 7 8
#import <Foundation/Foundation.h> void printGreeting() { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSLog (@"Hello darkness, my old friend!"); [pool drain]; }