ソースを参照

Add missing [super viewWillAppear:] calls caught by the static analyzer.

Ryan Olson 12 年 前
コミット
4f3725204d
共有2 個のファイルを変更した4 個の追加0 個の削除を含む
  1. 2 0
      Classes/Explorer Toolbar/FLEXExplorerViewController.m
  2. 2 0
      Classes/Object Explorers/FLEXObjectExplorerViewController.m

+ 2 - 0
Classes/Explorer Toolbar/FLEXExplorerViewController.m

@@ -108,6 +108,8 @@ typedef NS_ENUM(NSUInteger, FLEXExplorerMode) {
 
 - (void)viewWillAppear:(BOOL)animated
 {
+    [super viewWillAppear:animated];
+    
     [self updateButtonStates];
 }
 

+ 2 - 0
Classes/Object Explorers/FLEXObjectExplorerViewController.m

@@ -95,6 +95,8 @@ static const NSInteger kFLEXObjectExplorerScopeIncludeInheritanceIndex = 1;
 
 - (void)viewWillAppear:(BOOL)animated
 {
+    [super viewWillAppear:animated];
+    
     // Reload the entire table view rather than just the visible cells because the filtered rows
     // may have changed (i.e. a change in the description row that causes it to get filtered out).
     [self updateTableData];