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

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

Ryan Olson лет назад: 12
Родитель
Сommit
4f3725204d

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