以下代码为何最终的输出结果为:1,0,0,0 ???
BOOL res1 = [(id)[NSObject class] isKindOfClass:[NSObject class]];
BOOL res2 = [(id)[NSObject class] isMemberOfClass:[NSObject class]];
BOOL res3 = [(id)[TestVC class] isKindOfClass:[TestVC class]];
BOOL res4 = [(id)[TestVC class] isMemberOfClass:[TestVC class]];
NSLog(@"%d,%d,%d,%d",res1,res2,res3,res4);
网友评论