Procházet zdrojové kódy

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 před 12 roky
rodič
revize
19af65442c

+ 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