Explorar o código

Use runtime functions over NSObject methods for safety with non-NSObject classes.

Ryan Olson %!s(int64=12) %!d(string=hai) anos
pai
achega
46c5929bd5

+ 1 - 1
Classes/Object Explorers/FLEXObjectExplorerViewController.m

@@ -133,7 +133,7 @@ static const NSInteger kFLEXObjectExplorerScopeIncludeInheritanceIndex = 1;
 - (void)setObject:(id)object
 {
     _object = object;
-    self.title = [[object class] description];
+    self.title = @(class_getName(object_getClass(object)));
     [self updateTableData];
 }