@大爱无言 好的 谢谢
self = [super init]的思考个人学知识还是想尽量学的明白些,否则觉着不顺畅,虽然很早就看苹果官方文档,https://developer.apple.com/library/ios/documentat...
@大爱无言 好的 谢谢
self = [super init]的思考个人学知识还是想尽量学的明白些,否则觉着不顺畅,虽然很早就看苹果官方文档,https://developer.apple.com/library/ios/documentat...
@大爱无言 写在这边应该是就是重写的意思吧
self = [super init]的思考个人学知识还是想尽量学的明白些,否则觉着不顺畅,虽然很早就看苹果官方文档,https://developer.apple.com/library/ios/documentat...
@大爱无言 我试过了 用self会线程crash
self = [super init]的思考个人学知识还是想尽量学的明白些,否则觉着不顺畅,虽然很早就看苹果官方文档,https://developer.apple.com/library/ios/documentat...
@大爱无言 NSObject
self = [super init]的思考个人学知识还是想尽量学的明白些,否则觉着不顺畅,虽然很早就看苹果官方文档,https://developer.apple.com/library/ios/documentat...
-(void)setValue:(id)value forKey:(NSString *)key
{
NSArray *titles = @[@"SID",@"C_CAPTION",@"C_CONTENT",@"R_RANGE",@"S_RANGE",@"R_DEPT",@"S_DEPT",@"R_RECORDER",@"S_RECORDER",@"T_RECORD",@"N_READER",@"C_SITE",@"T_SIGN",@"C_READER",@"C_FILE",@"C_SIGN_ERR_MSG",@"users",@"users_02",@"files",@"imgs",@"B_READER"];
if (![titles containsObject:key]) {
return;
}
[super setValue:value forKey:key];
}
-(instancetype)initWithDictionary:(NSDictionary *)dictionary {
if (self = [super init]) {
[self setString];
[self setValuesForKeysWithDictionary:dictionary];
}
return self;
}
大神 我这段代码中的[super setValue:value forKey:key];这句 为什么要用super调,求解
self = [super init]的思考个人学知识还是想尽量学的明白些,否则觉着不顺畅,虽然很早就看苹果官方文档,https://developer.apple.com/library/ios/documentat...
不谈啦
iOS 11 适配tabBar重影问题//解决iPoneX tabBar重影问题 -(void)viewWillLayoutSubviews { [superviewWillLayoutSubviews]; fo...
//解决iPoneX tabBar重影问题 -(void)viewWillLayoutSubviews { [superviewWillLayoutSubviews]; fo...