#import
"AppDelegate.h"
#import
"ViewController.h"
@implementation AppDelegate
@synthesize nav;
-
(void)dealloc
{
[_window
release];
[_viewController release];
[super
dealloc];
}
-
(BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary
*)launchOptions
{
self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen
mainScreen] bounds]] autorelease];
//
Override point for customization after application
launch.
self.viewController = [[[ViewController alloc]
initWithNibName:@"ViewController" bundle:nil]
autorelease];
self.nav = [[UINavigationController alloc]
initWithRootViewController:self.viewControlle