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