1#include <Foundation/NSAutoreleasePool.h> 2#include <AppKit/AppKit.h> 3#include "Controller.h" 4 5 6int main(int argc, const char *argv[]) 7{ 8 id pool = [NSAutoreleasePool new]; 9 NSApplication *theApp; 10 11 theApp = [NSApplication sharedApplication]; 12 [theApp setDelegate: [[Controller alloc] init]]; 13 14 NSApplicationMain(argc, argv); 15 16 [pool release]; 17 18 return 0; 19} 20 21