摘要: 写如下代码: BOOL flag1 = [[NSObject class] isKindOfClass:[NSObject class]]; BOOL flag2 = [[NSObject class] isMemberOfClass:[NSObject class]]; BOOL flag3 = 阅读全文
posted @ 2020-12-28 21:48 木子沉雨 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 对于下面的代码,打印的结果是啥 #import "LBStudent.h" @implementation LBStudent - (instancetype)init { self = [super init]; if (self) { NSLog(@"[self class] = %@", [s 阅读全文
posted @ 2020-12-28 21:25 木子沉雨 阅读(106) 评论(0) 推荐(0) 编辑