摘要: 利用masonry实现如下图的布局格式:实现代码如下: 1 //设置约束 2 - (void)setTheConstraintForProgress { 3 //开始 4 [self.startBtn mas_makeConstraints:^(MASConstraintMaker ... 阅读全文
posted @ 2016-01-04 18:09 竹峰拾贝 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 1 //抽出一个按钮 2 - (UIButton *)buttonWithTitle:(NSString *)title action:(SEL)action{ 3 UIButton *button = [[UIButton alloc] init]; 4 [button setT... 阅读全文
posted @ 2016-01-04 17:15 竹峰拾贝 阅读(188) 评论(0) 推荐(0) 编辑