摘要:
1 #import "MyView.h" 2 3 @implementation MyView 4 5 -(instancetype)initWithFrame:(CGRect)frame 6 { 7 if (self = [super initWithFrame:frame]) { 8 _labl 阅读全文
摘要:
1.自定义视图 1 #import "MyView.h" 2 3 @implementation MyView 4 5 6 //重写父类的初始化方法 7 8 -(instancetype)initWithFrame:(CGRect)frame 9 { 10 if(self = [super init 阅读全文