For iOS (Cocoa Touch), it\'s possible to go to your main.m and replace the fourth argument in UIApplicationMain(int argc, char *argv[], nil, nil) with the class nam
UIApplicationMain(int argc, char *argv[], nil, nil)
You can use setDelegate method of NSApplication instance. Here is a sample:
setDelegate
NSApplication
AppDelegate * delegate = [[AppDelegate alloc] init]; [[NSApplication sharedApplication] setDelegate:delegate]; [NSApp run];
As for return value you can use EXIT_SUCCESS
EXIT_SUCCESS