PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 5ms RepoModel.GetById 0ms app.codeStats 1ms

/samples/MapTestbedFlipMaps/Classes/MapTestbedAppDelegate.m

http://github.com/route-me/route-me
Objective C | 32 lines | 17 code | 11 blank | 4 comment | 0 complexity | 5d8f69cddfae8ff0f05023f026592e84 MD5 | raw file
 1//
 2//  MapTestbedAppDelegate.m
 3//  MapTestbed : Diagnostic map
 4//
 5
 6#import "MapTestbedAppDelegate.h"
 7#import "RootViewController.h"
 8
 9#import "RMPath.h"
10
11@implementation MapTestbedAppDelegate
12
13
14@synthesize window;
15@synthesize rootViewController;
16
17
18- (void)applicationDidFinishLaunching:(UIApplication *)application {
19    
20    [window addSubview:[rootViewController view]];
21    [window makeKeyAndVisible];
22}
23
24
25- (void)dealloc {
26    self.rootViewController = nil;
27	self.window = nil;
28    [window release];
29    [super dealloc];
30}
31
32@end