/projects/xcode3/upnpxdemo/Classes/upnpxdemoAppDelegate.m

http://upnpx.googlecode.com/ · Objective C · 51 lines · 22 code · 20 blank · 9 comment · 0 complexity · 31e6a024aa7b40a3ec2bc34803b10c42 MD5 · raw file

  1. //
  2. // upnpxdemoAppDelegate.m
  3. // upnpxdemo
  4. //
  5. // Created by Bruno Keymolen on 22/05/11.
  6. // Copyright Bruno Keymolen 2011. All rights reserved.
  7. //
  8. #import "upnpxdemoAppDelegate.h"
  9. #import "RootViewController.h"
  10. @implementation upnpxdemoAppDelegate
  11. @synthesize window;
  12. @synthesize navigationController;
  13. #pragma mark -
  14. #pragma mark Application lifecycle
  15. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  16. // Override point for customization after app launch
  17. [window addSubview:[navigationController view]];
  18. [window makeKeyAndVisible];
  19. return YES;
  20. }
  21. - (void)applicationWillTerminate:(UIApplication *)application {
  22. // Save data if appropriate
  23. }
  24. #pragma mark -
  25. #pragma mark Memory management
  26. - (void)dealloc {
  27. [navigationController release];
  28. [window release];
  29. [super dealloc];
  30. }
  31. @end