Explorar o código

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 %!s(int64=12) %!d(string=hai) anos
pai
achega
19af65442c
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  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