yangsu@google.com | 2eff7e2 | 2011-06-24 15:57:30 +0000 | [diff] [blame] | 1 | #import "AppDelegate_iPhone.h" |
| 2 | |
| 3 | @implementation AppDelegate_iPhone |
yangsu@google.com | c5aeccd | 2011-07-17 14:42:08 +0000 | [diff] [blame] | 4 | @synthesize window, fRoot; |
yangsu@google.com | 2eff7e2 | 2011-06-24 15:57:30 +0000 | [diff] [blame] | 5 | |
yangsu@google.com | 2e20c24 | 2011-07-07 19:26:42 +0000 | [diff] [blame] | 6 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { |
yangsu@google.com | 2e20c24 | 2011-07-07 19:26:42 +0000 | [diff] [blame] | 7 | [window addSubview:fRoot.view]; |
yangsu@google.com | 2eff7e2 | 2011-06-24 15:57:30 +0000 | [diff] [blame] | 8 | [window makeKeyAndVisible]; |
jvanverth | 66c9582 | 2014-06-11 13:59:22 -0700 | [diff] [blame] | 9 | |
| 10 | self.window.rootViewController = fRoot; |
| 11 | |
yangsu@google.com | 2eff7e2 | 2011-06-24 15:57:30 +0000 | [diff] [blame] | 12 | return YES; |
| 13 | } |
| 14 | |
yangsu@google.com | 2eff7e2 | 2011-06-24 15:57:30 +0000 | [diff] [blame] | 15 | - (void)dealloc { |
| 16 | [window release]; |
| 17 | [fRoot release]; |
yangsu@google.com | 2eff7e2 | 2011-06-24 15:57:30 +0000 | [diff] [blame] | 18 | [super dealloc]; |
| 19 | } |
| 20 | |
yangsu@google.com | 2eff7e2 | 2011-06-24 15:57:30 +0000 | [diff] [blame] | 21 | @end |