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