MapViewAppDelegate.m
704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// MapViewAppDelegate.m
// MapView
//
// Created by Joseph Gentle on 17/09/08.
// Copyright __MyCompanyName__ 2008. All rights reserved.
//
#import "MapViewAppDelegate.h"
#import "MapViewViewController.h"
#import "RMMapView.h"
@implementation MapViewAppDelegate
@synthesize window;
@synthesize viewController;
- (void)applicationDidFinishLaunching:(UIApplication *)application {
// Make sure it doesn't strip mapview.
[RMMapView class];
// Override point for customization after app launch
[window addSubview:viewController.view];
[window makeKeyAndVisible];
}
- (void)dealloc {
[viewController release];
[window release];
[super dealloc];
}
@end