摘要: @设置圆角 1UIView圆角 <1直接操作其仅有的图层即可:iconView.layer.cornerRadius =10; 2UIImageView圆角 <2// 设置圆角半径 self.imageView.layer.cornerRadius = self.imageView.frame.si 阅读全文
posted @ 2017-01-05 10:27 行者烧炉子 阅读(125) 评论(0) 推荐(0) 编辑
摘要: @全局断点 特点:1只有全局断点,才能在左栏查看到,崩溃前调用的方法 @查看报错日志 1搜索:reason 2搜索:uncaught exception 阅读全文
posted @ 2017-01-05 08:29 行者烧炉子 阅读(118) 评论(0) 推荐(0) 编辑
摘要: //1创建弹框控制器 UIAlertController *alertVc = [UIAlertController alertControllerWithTitle:@"亲,确定要滚吗?" message:nil preferredStyle:UIAlertControllerStyleActionSheet]; //2.1添加确定事件 UIAlertActio... 阅读全文
posted @ 2017-01-05 08:22 行者烧炉子 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 1普通数据,用weak 2delegate,用weak 3一般对象,用strong 4NSString,用copy 5block,用copy 阅读全文
posted @ 2017-01-05 07:43 行者烧炉子 阅读(103) 评论(0) 推荐(0) 编辑