You can do the same by changing the settings to
UIApplicationMain(argc,argv,nil,nil);
present in the main.m file. The last parameter takes the name of the class which is implementing the UIApplicationDelegate protocol.So the default implementation looks something like
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal;
So after modifying it will be something like
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, NSStringFromClass([< Your class name will go here > class]));
[pool release];
return retVal;
source
share