Selaa lähdekoodia

Avoid premature loading of FLEXObjectExplorerViewController’s view.

Ryan Olson 12 vuotta sitten
vanhempi
commit
e72859cb58
1 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 4 1
      Classes/Object Explorers/FLEXObjectExplorerViewController.m

+ 4 - 1
Classes/Object Explorers/FLEXObjectExplorerViewController.m

@@ -176,7 +176,10 @@ static const NSInteger kFLEXObjectExplorerScopeIncludeInheritanceIndex = 1;
     [self updateFilteredMethods];
     [self updateFilteredClassMethods];
     [self updateFilteredSuperclasses];
-    [self.tableView reloadData];
+    
+    if (self.isViewLoaded) {
+        [self.tableView reloadData];
+    }
 }
 
 - (BOOL)shouldShowDescription