From 4cfb3af68241053ae5786b0f9eb23d830a5872ae Mon Sep 17 00:00:00 2001 From: jzgenius Date: Tue, 18 Sep 2012 09:53:18 +0800 Subject: [PATCH] Revert "[template] modify AppController, add viewController & window variant. all Xcode template modified." This reverts commit d92aa8805a43e436421b2dd2887d1234be5dc829. --- template/xcode4/cocos2dx.xctemplate/ios/AppController.h | 3 --- template/xcode4/cocos2dx.xctemplate/ios/AppController.mm | 3 --- template/xcode4/cocos2dx_box2d.xctemplate/ios/AppController.h | 3 --- template/xcode4/cocos2dx_box2d.xctemplate/ios/AppController.mm | 3 --- .../xcode4/cocos2dx_chipmunk.xctemplate/ios/AppController.h | 3 --- .../xcode4/cocos2dx_chipmunk.xctemplate/ios/AppController.mm | 3 --- template/xcode4/cocos2dx_js.xctemplate/ios/AppController.h | 3 --- template/xcode4/cocos2dx_js.xctemplate/ios/AppController.mm | 3 --- template/xcode4/cocos2dx_lua.xctemplate/ios/AppController.h | 3 --- template/xcode4/cocos2dx_lua.xctemplate/ios/AppController.mm | 3 --- 10 files changed, 30 deletions(-) diff --git a/template/xcode4/cocos2dx.xctemplate/ios/AppController.h b/template/xcode4/cocos2dx.xctemplate/ios/AppController.h index 4f51fc6229..4bd3952824 100644 --- a/template/xcode4/cocos2dx.xctemplate/ios/AppController.h +++ b/template/xcode4/cocos2dx.xctemplate/ios/AppController.h @@ -13,8 +13,5 @@ RootViewController *viewController; } -@property (nonatomic, retain) UIWindow *window; -@property (nonatomic, retain) RootViewController *viewController; - @end diff --git a/template/xcode4/cocos2dx.xctemplate/ios/AppController.mm b/template/xcode4/cocos2dx.xctemplate/ios/AppController.mm index 82acce0269..96281719a6 100644 --- a/template/xcode4/cocos2dx.xctemplate/ios/AppController.mm +++ b/template/xcode4/cocos2dx.xctemplate/ios/AppController.mm @@ -15,9 +15,6 @@ @implementation AppController -@synthesize window; -@synthesize viewController; - #pragma mark - #pragma mark Application lifecycle diff --git a/template/xcode4/cocos2dx_box2d.xctemplate/ios/AppController.h b/template/xcode4/cocos2dx_box2d.xctemplate/ios/AppController.h index 4f51fc6229..4bd3952824 100644 --- a/template/xcode4/cocos2dx_box2d.xctemplate/ios/AppController.h +++ b/template/xcode4/cocos2dx_box2d.xctemplate/ios/AppController.h @@ -13,8 +13,5 @@ RootViewController *viewController; } -@property (nonatomic, retain) UIWindow *window; -@property (nonatomic, retain) RootViewController *viewController; - @end diff --git a/template/xcode4/cocos2dx_box2d.xctemplate/ios/AppController.mm b/template/xcode4/cocos2dx_box2d.xctemplate/ios/AppController.mm index a9bf46f84a..520b117ea2 100644 --- a/template/xcode4/cocos2dx_box2d.xctemplate/ios/AppController.mm +++ b/template/xcode4/cocos2dx_box2d.xctemplate/ios/AppController.mm @@ -15,9 +15,6 @@ @implementation AppController -@synthesize window; -@synthesize viewController; - #pragma mark - #pragma mark Application lifecycle diff --git a/template/xcode4/cocos2dx_chipmunk.xctemplate/ios/AppController.h b/template/xcode4/cocos2dx_chipmunk.xctemplate/ios/AppController.h index 4f51fc6229..4bd3952824 100644 --- a/template/xcode4/cocos2dx_chipmunk.xctemplate/ios/AppController.h +++ b/template/xcode4/cocos2dx_chipmunk.xctemplate/ios/AppController.h @@ -13,8 +13,5 @@ RootViewController *viewController; } -@property (nonatomic, retain) UIWindow *window; -@property (nonatomic, retain) RootViewController *viewController; - @end diff --git a/template/xcode4/cocos2dx_chipmunk.xctemplate/ios/AppController.mm b/template/xcode4/cocos2dx_chipmunk.xctemplate/ios/AppController.mm index da90ebfae0..833f59255d 100644 --- a/template/xcode4/cocos2dx_chipmunk.xctemplate/ios/AppController.mm +++ b/template/xcode4/cocos2dx_chipmunk.xctemplate/ios/AppController.mm @@ -15,9 +15,6 @@ @implementation AppController -@synthesize window; -@synthesize viewController; - #pragma mark - #pragma mark Application lifecycle diff --git a/template/xcode4/cocos2dx_js.xctemplate/ios/AppController.h b/template/xcode4/cocos2dx_js.xctemplate/ios/AppController.h index b05d7bf9f7..3d51064ca0 100644 --- a/template/xcode4/cocos2dx_js.xctemplate/ios/AppController.h +++ b/template/xcode4/cocos2dx_js.xctemplate/ios/AppController.h @@ -29,8 +29,5 @@ RootViewController *viewController; } -@property (nonatomic, retain) UIWindow *window; -@property (nonatomic, retain) RootViewController *viewController; - @end diff --git a/template/xcode4/cocos2dx_js.xctemplate/ios/AppController.mm b/template/xcode4/cocos2dx_js.xctemplate/ios/AppController.mm index 82acce0269..96281719a6 100644 --- a/template/xcode4/cocos2dx_js.xctemplate/ios/AppController.mm +++ b/template/xcode4/cocos2dx_js.xctemplate/ios/AppController.mm @@ -15,9 +15,6 @@ @implementation AppController -@synthesize window; -@synthesize viewController; - #pragma mark - #pragma mark Application lifecycle diff --git a/template/xcode4/cocos2dx_lua.xctemplate/ios/AppController.h b/template/xcode4/cocos2dx_lua.xctemplate/ios/AppController.h index b05d7bf9f7..3d51064ca0 100644 --- a/template/xcode4/cocos2dx_lua.xctemplate/ios/AppController.h +++ b/template/xcode4/cocos2dx_lua.xctemplate/ios/AppController.h @@ -29,8 +29,5 @@ RootViewController *viewController; } -@property (nonatomic, retain) UIWindow *window; -@property (nonatomic, retain) RootViewController *viewController; - @end diff --git a/template/xcode4/cocos2dx_lua.xctemplate/ios/AppController.mm b/template/xcode4/cocos2dx_lua.xctemplate/ios/AppController.mm index a9cd27a2fe..6b27e1dcc9 100644 --- a/template/xcode4/cocos2dx_lua.xctemplate/ios/AppController.mm +++ b/template/xcode4/cocos2dx_lua.xctemplate/ios/AppController.mm @@ -31,9 +31,6 @@ @implementation AppController -@synthesize window; -@synthesize viewController; - #pragma mark - #pragma mark Application lifecycle