MultiTouchDemoAppDelegate.m.svn-base
上传用户:huachun008
上传日期:2009-10-03
资源大小:1927k
文件大小:1k
源码类别:

MacOS编程

开发平台:

Objective-C

  1. //
  2. //  MultiTouchDemoAppDelegate.m
  3. //  MultiTouchDemo
  4. //
  5. //  Created by Jason Beaver on 5/29/08.
  6. //  Copyright Apple Inc. 2008. All rights reserved.
  7. //
  8. #import "MultiTouchDemoAppDelegate.h"
  9. #import "MultiTouchDemoViewController.h"
  10. @implementation MultiTouchDemoAppDelegate
  11. @synthesize window;
  12. @synthesize viewController;
  13. - (void)applicationDidFinishLaunching:(UIApplication *)application
  14. {
  15.     [window addSubview:viewController.view];
  16. [window makeKeyAndVisible];
  17. }
  18. - (void)dealloc
  19. {
  20.     [viewController release];
  21. [window release];
  22. [super dealloc];
  23. }
  24. @end