06 2016 档案

摘要://equalto 和 mas_equalto 是有区别的。但是我们不打算去了解,可以通过添加以下代码来统一。 //注意!! 宏定义必须要放在 import 引入头文件之前! //define this constant if you want to use Masonry without the 阅读全文
posted @ 2016-06-17 15:37 小师傅啊小师傅 阅读(387) 评论(1) 推荐(0) 编辑
摘要:两个可以放一起 /** * 获取文件地址 */ - (NSString* )getFilePath:(NSString* )filePath { NSArray* array = [filePath componentsSeparatedByString:@"/"]; NSString* fileN 阅读全文
posted @ 2016-06-14 16:01 小师傅啊小师傅 阅读(201) 评论(0) 推荐(0) 编辑
摘要://导航条背景颜色 self.navigationController.navigationBar.barTintColor = [UIColor blueColor]; //导航条上面控件颜色 self.navigationController.navigationBar.tintColor = 阅读全文
posted @ 2016-06-14 15:26 小师傅啊小师傅 阅读(432) 评论(0) 推荐(0) 编辑
摘要:如果什么都不设置的话 分割线是从cell.textlabel处开始的 如果加上 [_myTableView setSeparatorInset:UIEdgeInsetsMake(0, 0, 0, 0)]; 分割线是从cell.imageView.image处开始的 如果想从顶端开始加入下列代码就OK 阅读全文
posted @ 2016-06-13 16:06 小师傅啊小师傅 阅读(192) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示