/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

  1. //
  2. // main.m
  3. // iphone
  4. //
  5. // Created by Walzer on 10-11-16.
  6. // Copyright 2010 __MyCompanyName__. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. // Under iOS and the Simulator, we can use an alternate Accelerometer interface
  10. #import "AccelerometerSimulation.h"
  11. int main(int argc, char *argv[]) {
  12. NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
  13. int retVal = UIApplicationMain(argc, argv, nil, @"AppController");
  14. [pool release];
  15. return retVal;
  16. }