Просмотр исходного кода

Xib name doesn't need to be mentionned if it's named after the VC class

And it shouldn't: less code, less bugs (less typos).

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Romain Goyet 12 лет назад
Родитель
Сommit
ee168d7407
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      AspenProject/VLCPlaylistViewController.m

+ 1 - 1
AspenProject/VLCPlaylistViewController.m

@@ -275,7 +275,7 @@
 - (IBAction)leftButtonAction:(id)sender
 {
     if (self.menuViewController == nil)
-        self.menuViewController = [[VLCMenuViewController alloc] initWithNibName:@"VLCMenuViewController" bundle:nil];
+        self.menuViewController = [[VLCMenuViewController alloc] initWithNibName:nil bundle:nil];
 
     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
         self.menuViewController.contentSizeForViewInPopover = self.menuViewController.view.frame.size;