I think you are mostly lucky that you are not down with this code.
First, class methods start with +not a -- so this is the instance method that you implement.
@interface TestObj :NSObject
@property(copy, nonatomic)NSString *name;
@end
@implementation TestObj
+ (void)testName{
NSLog(@"name:%@", @"TestObj");
}
@end
...
Class classObject = [TestObj class];
[classObject testName];
( ). Objective-C , , "isa", . "Isa" "", , . TestObj, , TestObj, - , . , - ( ) , "" . , , , a -name NSString , UIViewController. , , , , ViewController . , -name, .
, tl; dr - ( ), , . (bridge id) , .