/samples/MarkerMurder/Classes/MarkerMurderAppDelegate.m
Objective C | 33 lines | 20 code | 9 blank | 4 comment | 0 complexity | b57d5fbe897cceeb792bf8d353085637 MD5 | raw file
- //
- // Sample2AppDelegate.m
- // SampleMap : Diagnostic map
- //
- #import "MarkerMurderAppDelegate.h"
- #import "RootViewController.h"
- #import "MainViewController.h"
- @implementation MarkerMurderAppDelegate
- @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