mirror of https://github.com/axmolengine/axmol.git
Merge pull request #1333 from jzgenius/modify_template_by_viewController
[template] modify AppController, add viewController & window variant. al...
This commit is contained in:
commit
d098c5900a
|
@ -13,5 +13,8 @@
|
|||
RootViewController *viewController;
|
||||
}
|
||||
|
||||
@property (nonatomic, retain) UIWindow *window;
|
||||
@property (nonatomic, retain) RootViewController *viewController;
|
||||
|
||||
@end
|
||||
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
|
||||
@implementation AppController
|
||||
|
||||
@synthesize window;
|
||||
@synthesize viewController;
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark Application lifecycle
|
||||
|
||||
|
|
|
@ -13,5 +13,8 @@
|
|||
RootViewController *viewController;
|
||||
}
|
||||
|
||||
@property (nonatomic, retain) UIWindow *window;
|
||||
@property (nonatomic, retain) RootViewController *viewController;
|
||||
|
||||
@end
|
||||
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
|
||||
@implementation AppController
|
||||
|
||||
@synthesize window;
|
||||
@synthesize viewController;
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark Application lifecycle
|
||||
|
||||
|
|
|
@ -13,5 +13,8 @@
|
|||
RootViewController *viewController;
|
||||
}
|
||||
|
||||
@property (nonatomic, retain) UIWindow *window;
|
||||
@property (nonatomic, retain) RootViewController *viewController;
|
||||
|
||||
@end
|
||||
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
|
||||
@implementation AppController
|
||||
|
||||
@synthesize window;
|
||||
@synthesize viewController;
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark Application lifecycle
|
||||
|
||||
|
|
|
@ -29,5 +29,8 @@
|
|||
RootViewController *viewController;
|
||||
}
|
||||
|
||||
@property (nonatomic, retain) UIWindow *window;
|
||||
@property (nonatomic, retain) RootViewController *viewController;
|
||||
|
||||
@end
|
||||
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
|
||||
@implementation AppController
|
||||
|
||||
@synthesize window;
|
||||
@synthesize viewController;
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark Application lifecycle
|
||||
|
||||
|
|
|
@ -29,5 +29,8 @@
|
|||
RootViewController *viewController;
|
||||
}
|
||||
|
||||
@property (nonatomic, retain) UIWindow *window;
|
||||
@property (nonatomic, retain) RootViewController *viewController;
|
||||
|
||||
@end
|
||||
|
||||
|
|
|
@ -31,6 +31,9 @@
|
|||
|
||||
@implementation AppController
|
||||
|
||||
@synthesize window;
|
||||
@synthesize viewController;
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark Application lifecycle
|
||||
|
||||
|
|
Loading…
Reference in New Issue