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

/samples/MarkerMurder/Classes/MarkerMurderAppDelegate.m

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