AppDelegate.m 698 Bytes
//
//  ProgrammaticMapAppDelegate.m
//  ProgrammaticMap
//
//  Created by Hal Mueller on 3/25/09.
//  Copyright Route-Me Contributors 2009. All rights reserved.
//

#import "AppDelegate.h"
#import "RootViewController.h"

@implementation AppDelegate

@synthesize window;

- (void)applicationDidFinishLaunching:(UIApplication *)application
{    
    navigationController = [[UINavigationController alloc] initWithRootViewController:[[[RootViewController alloc] initWithNibName:nil bundle:nil] autorelease]];

    [window addSubview:navigationController.view];
    [window makeKeyAndVisible];
}

- (void)dealloc
{
    [navigationController release];
    [window release];
    [super dealloc];
}

@end