/samples/TestCpp/proj.ios/main.m
https://bitbucket.org/Tsiannian/cocos2d-x · Objective C · 20 lines · 8 code · 4 blank · 8 comment · 0 complexity · 29efb542030a044237b892f4508a2237 MD5 · raw file
- //
- // main.m
- // iphone
- //
- // Created by Walzer on 10-11-16.
- // Copyright 2010 __MyCompanyName__. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- // Under iOS and the Simulator, we can use an alternate Accelerometer interface
- #import "AccelerometerSimulation.h"
- int main(int argc, char *argv[]) {
-
- NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
- int retVal = UIApplicationMain(argc, argv, nil, @"AppController");
- [pool release];
- return retVal;
- }