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