SampleMapAppDelegate.m 618 Bytes
//
//  Sample2AppDelegate.m
//  SampleMap : Diagnostic map
//

#import "SampleMapAppDelegate.h"
#import "RootViewController.h"
#import "MainViewController.h"

@implementation SampleMapAppDelegate


@synthesize window;
@synthesize rootViewController;

- (void)applicationDidFinishLaunching:(UIApplication *)application {
    
    [window addSubview:[rootViewController view]];
    [window makeKeyAndVisible];
}

-(RMMapContents *)mapContents
{
	return self.rootViewController.mainViewController.mapView.contents;
}

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

@end