MultiTouchDemoAppDelegate.m
上传用户:huachun008
上传日期:2009-10-03
资源大小:1927k
文件大小:1k
源码类别:
MacOS编程
开发平台:
Objective-C
- //
- // MultiTouchDemoAppDelegate.m
- // MultiTouchDemo
- //
- // Created by Jason Beaver on 5/29/08.
- // Copyright Apple Inc. 2008. All rights reserved.
- //
- #import "MultiTouchDemoAppDelegate.h"
- #import "MultiTouchDemoViewController.h"
- @implementation MultiTouchDemoAppDelegate
- @synthesize window;
- @synthesize viewController;
- - (void)applicationDidFinishLaunching:(UIApplication *)application
- {
- [window addSubview:viewController.view];
- [window makeKeyAndVisible];
- }
- - (void)dealloc
- {
- [viewController release];
- [window release];
- [super dealloc];
- }
- @end