Merge pull request #1333 from jzgenius/modify_template_by_viewController

[template] modify AppController, add viewController & window variant. al...
This commit is contained in:
Walzer 2012-09-17 19:36:18 -07:00
commit d098c5900a
10 changed files with 30 additions and 0 deletions

View File

@ -13,5 +13,8 @@
RootViewController *viewController;
}
@property (nonatomic, retain) UIWindow *window;
@property (nonatomic, retain) RootViewController *viewController;
@end

View File

@ -15,6 +15,9 @@
@implementation AppController
@synthesize window;
@synthesize viewController;
#pragma mark -
#pragma mark Application lifecycle

View File

@ -13,5 +13,8 @@
RootViewController *viewController;
}
@property (nonatomic, retain) UIWindow *window;
@property (nonatomic, retain) RootViewController *viewController;
@end

View File

@ -15,6 +15,9 @@
@implementation AppController
@synthesize window;
@synthesize viewController;
#pragma mark -
#pragma mark Application lifecycle

View File

@ -13,5 +13,8 @@
RootViewController *viewController;
}
@property (nonatomic, retain) UIWindow *window;
@property (nonatomic, retain) RootViewController *viewController;
@end

View File

@ -15,6 +15,9 @@
@implementation AppController
@synthesize window;
@synthesize viewController;
#pragma mark -
#pragma mark Application lifecycle

View File

@ -29,5 +29,8 @@
RootViewController *viewController;
}
@property (nonatomic, retain) UIWindow *window;
@property (nonatomic, retain) RootViewController *viewController;
@end

View File

@ -15,6 +15,9 @@
@implementation AppController
@synthesize window;
@synthesize viewController;
#pragma mark -
#pragma mark Application lifecycle

View File

@ -29,5 +29,8 @@
RootViewController *viewController;
}
@property (nonatomic, retain) UIWindow *window;
@property (nonatomic, retain) RootViewController *viewController;
@end

View File

@ -31,6 +31,9 @@
@implementation AppController
@synthesize window;
@synthesize viewController;
#pragma mark -
#pragma mark Application lifecycle