/samples/SimpleSampleMap/Classes/SimpleSampleMapAppDelegate.m

http://github.com/route-me/route-me · Objective C · 33 lines · 15 code · 10 blank · 8 comment · 0 complexity · 6709a88323fdc92f5906deb5eb06d1ea MD5 · raw file

  1. //
  2. // SimpleSampleMapAppDelegate.m
  3. // SimpleSampleMap
  4. //
  5. // Created by John Ahrens on 3/14/09.
  6. // Copyright John Ahrens, LLC 2009. All rights reserved.
  7. //
  8. #import "SimpleSampleMapAppDelegate.h"
  9. #import "SimpleSampleMapViewController.h"
  10. @implementation SimpleSampleMapAppDelegate
  11. @synthesize window;
  12. @synthesize viewController;
  13. - (void)applicationDidFinishLaunching:(UIApplication *)application {
  14. // Override point for customization after app launch
  15. [window addSubview:viewController.view];
  16. [window makeKeyAndVisible];
  17. }
  18. - (void)dealloc {
  19. [viewController release];
  20. [window release];
  21. [super dealloc];
  22. }
  23. @end