Просмотр исходного кода

Fix class properties not showing previews

Tanner Bennett лет назад: 6
Родитель
Сommit
1d5d825135
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      Classes/ObjectExplorers/FLEXObjectExplorer.m

+ 5 - 1
Classes/ObjectExplorers/FLEXObjectExplorer.m

@@ -250,7 +250,11 @@
     // Set up UIKit helper data
     // Really, we only need to call this on properties and ivars
     // 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) {
             [FLEXObjectExplorer configureDefaultsForItems:metadataByClass];
         }