瀏覽代碼

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 年之前
父節點
當前提交
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;