标签:com 解析 技术 none ima font 判断 就是 load
// insert code here... BOOL re1 = [(id)[NSObject class] isKindOfClass:[NSObject class]]; //1 BOOL re2 = [(id)[NSObject class] isMemberOfClass:[NSObject class]];//0 BOOL re3 = [(id)[XZPerson class] isKindOfClass:[XZPerson class]];//0 BOOL re4 = [(id)[XZPerson class] isMemberOfClass:[XZPerson class]];//0 NSLog(@" \nre1 :%hhd\n re2 :%hhd\n re3 :%hhd\n re4 :%hhd\n",re1,re2,re3,re4); BOOL re5 = [(id)[NSObject alloc] isKindOfClass:[NSObject class]];//1 BOOL re6 = [(id)[NSObject alloc] isMemberOfClass:[NSObject class]];//1 BOOL re7 = [(id)[XZPerson alloc] isKindOfClass:[XZPerson class]];//1 BOOL re8 = [(id)[XZPerson alloc] isMemberOfClass:[XZPerson class]];//1 NSLog(@" \nre5 :%hhd\n re6 :%hhd\n re7 :%hhd\n re8 :%hhd\n",re5,re6,re7,re8); BOOL re9 = [(id)[NSObject class] isKindOfClass:[XZPerson class]];//0 BOOL re10 = [(id)[NSObject class] isMemberOfClass:[XZPerson class]];//0 BOOL re11 = [(id)[NSObject alloc] isKindOfClass:[XZPerson class]];//0 BOOL re12 = [(id)[NSObject alloc] isKindOfClass:[XZPerson class]];//0
🔥isKindOfClass 和 isMemberOfClass
标签:com 解析 技术 none ima font 判断 就是 load
原文地址:https://www.cnblogs.com/1-434/p/13129905.html