How do I call a static bool method in main.m
- by AaronG
This is Objective-C, in Xcode for the iPhone.
I have a method in main.m:
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
//I want to call the method here//
int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal;
}
static BOOL do_it_all () {
//code here//
}
How do I call the do_it_all method from main.m?