- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
// Override point for customization after application launch.
self.tabBarController = [[[UITabBarController alloc] init] autorelease];
UIViewController *viewController1 = [[[MYFirstViewController alloc] initWithNibName:@"MYFirstViewController" bundle:nil] autorelease];
[COLOR=red]#if defined(DEBUG)[/COLOR]
UIViewController *viewController2 = [[[MYSecondViewController alloc] initWithNibName:@"MYSecondViewController" bundle:nil] autorelease];
self.tabBarController.viewControllers = [NSArray arrayWithObjects:viewController1, viewController2, nil];
[COLOR=red]#else[/COLOR]
self.tabBarController.viewControllers = [NSArray arrayWithObjects:viewController1, nil];
[COLOR=red]#endif[/COLOR]
self.window.rootViewController = self.tabBarController;
[self.window makeKeyAndVisible];
return YES;
}