[template] modify AppController, add viewController & window variant. all Xcode template modified.

This commit is contained in:
jzgenius 2012-09-18 09:55:28 +08:00
parent 4673977c31
commit 19b22be52e
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