virtualx-engine/platform/iphone/main.m

23 lines
440 B
Mathematica
Raw Normal View History

2014-02-10 02:10:30 +01:00
#import <UIKit/UIKit.h>
#import "app_delegate.h"
#include <stdio.h>
int gargc;
char** gargv;
int main(int argc, char *argv[])
{
printf("*********** main.m\n");
gargc = argc;
gargv = argv;
NSAutoreleasePool *pool = [NSAutoreleasePool new];
AppDelegate* app = [AppDelegate alloc];
printf("running app main\n");
UIApplicationMain(argc, argv, nil, @"AppDelegate");
printf("main done, pool release\n");
[pool release];
return 0;
}