Sfoglia il codice sorgente

Don’t allow drill-ins to edit properties/ivars or call methods from the class explorer.

Only class methods can be called from here.
Ryan Olson 12 anni fa
parent
commit
19af65442c
1 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  1. 10 0
      Classes/Object Explorers/FLEXClassExplorerViewController.m

+ 10 - 0
Classes/Object Explorers/FLEXClassExplorerViewController.m

@@ -119,4 +119,14 @@ typedef NS_ENUM(NSUInteger, FLEXClassExplorerRow) {
     return NO;
 }
 
+- (BOOL)canCallInstanceMethods
+{
+    return NO;
+}
+
+- (BOOL)canHaveInstanceState
+{
+    return NO;
+}
+
 @end