Przeglądaj źródła

Fix class properties not showing previews

Tanner Bennett 6 lat temu
rodzic
commit
1d5d825135
1 zmienionych plików z 5 dodań i 1 usunięć
  1. 5 1
      Classes/ObjectExplorers/FLEXObjectExplorer.m

+ 5 - 1
Classes/ObjectExplorers/FLEXObjectExplorer.m

@@ -250,7 +250,11 @@
     // Set up UIKit helper data
     // Set up UIKit helper data
     // Really, we only need to call this on properties and ivars
     // Really, we only need to call this on properties and ivars
     // because no other metadata types support editing.
     // because no other metadata types support editing.
-    for (NSArray *matrix in @[_allProperties, _allIvars, /* _allMethods, _allClassMethods, _allConformedProtocols */]) {
+    NSArray<NSArray *>*metadatas = @[
+        _allProperties, _allClassProperties, _allIvars,
+       /* _allMethods, _allClassMethods, _allConformedProtocols */
+    ];
+    for (NSArray *matrix in metadatas) {
         for (NSArray *metadataByClass in matrix) {
         for (NSArray *metadataByClass in matrix) {
             [FLEXObjectExplorer configureDefaultsForItems:metadataByClass];
             [FLEXObjectExplorer configureDefaultsForItems:metadataByClass];
         }
         }