Saturday, October 18, 2008

Overview




UIKit's main function (hardly used since UIApplication's main function is often used instead)


#import <UIKit/UIKit.h>

int main(int argc, char *argv[])
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal;
}