Permalink
Browse files

slightly rearrange some AppDelegate init code

  • Loading branch information...
1 parent 4d6738c commit dec13b60deaf66c837e637ea11e6fa43f625bcc0 @cdzombak committed Mar 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 buyvmmanager/BVMAppDelegate.m
@@ -30,13 +30,13 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
UIViewController *rootVC;
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
UISplitViewController *vc = [[UISplitViewController alloc] init];
- vc.delegate = self;
UIViewController *emptyVC = [[BVMEmptyDetailViewController alloc] init];
UINavigationController *detailNavigationVC = [[UINavigationController alloc] initWithRootViewController:emptyVC];
vc.viewControllers = @[
[[UINavigationController alloc] initWithRootViewController:[[BVMServersListViewController alloc] initWithDetailNavigationController:detailNavigationVC]],
detailNavigationVC
];
+ vc.delegate = self;
rootVC = vc;
} else {
rootVC = [[UINavigationController alloc] initWithRootViewController:[[BVMServersListViewController alloc] initWithDetailNavigationController:nil]];

0 comments on commit dec13b6

Please sign in to comment.