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 | |
yangsu@google.com | 2eff7e2 | 2011-06-24 15:57:30 +0000 | [diff] [blame] | 9 | // Override point for customization after application launch. |
yangsu@google.com | 2eff7e2 | 2011-06-24 15:57:30 +0000 | [diff] [blame] | 10 | [window addSubview:[splitViewController view]]; |
| 11 | [window makeKeyAndVisible]; |
| 12 | [splitViewController loadData]; |
| 13 | return YES; |
| 14 | } |
| 15 | |
| 16 | - (void)dealloc { |
| 17 | [window release]; |
| 18 | [splitViewController release]; |
| 19 | [super dealloc]; |
| 20 | } |
| 21 | |
| 22 | @end |