| OLD | NEW |
| 1 #import "AppDelegate_iPad.h" | 1 #import "AppDelegate_iPad.h" |
| 2 | 2 |
| 3 @implementation AppDelegate_iPad | 3 @implementation AppDelegate_iPad |
| 4 | 4 |
| 5 @synthesize window, splitViewController; | 5 @synthesize window, splitViewController; |
| 6 | 6 |
| 7 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
NSDictionary *)launchOptions { | 7 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
NSDictionary *)launchOptions { |
| 8 [window addSubview:[splitViewController view]]; | 8 [window addSubview:[splitViewController view]]; |
| 9 [window makeKeyAndVisible]; | 9 [window makeKeyAndVisible]; |
| 10 |
| 11 self.window.rootViewController = splitViewController; |
| 12 |
| 10 return YES; | 13 return YES; |
| 11 } | 14 } |
| 12 | 15 |
| 13 - (void)dealloc { | 16 - (void)dealloc { |
| 14 [window release]; | 17 [window release]; |
| 15 [splitViewController release]; | 18 [splitViewController release]; |
| 16 [super dealloc]; | 19 [super dealloc]; |
| 17 } | 20 } |
| 18 | 21 |
| 19 @end | 22 @end |
| OLD | NEW |