소스 검색

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];