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