摘要: 1、当用代码创建控件时调用-(instancetype)initWithFrame:(CGRect)frame{ if (self = [super initWithFrame:frame]) { [self setub]; } return self;}2、当用storyboard或者... 阅读全文
posted @ 2015-11-01 20:28 飞奔的龟龟 阅读(688) 评论(0) 推荐(0) 编辑