上一页 1 2 3 4 5 6 7 8 ··· 16 下一页
摘要: 使用一个第三方框架ZipArchive githud地址 需要倒入libz.tbd框架 https://github.com/ZipArchive/ZipArchive NSArray * array=@[ @"/Users/xiezefeng/Desktop/1.png", @"/Users/xi 阅读全文
posted @ 2016-05-10 14:38 谢小锋 阅读(130) 评论(0) 推荐(0) 编辑
摘要: NSFileHandle文件写入的好处时连续写入不会别覆盖 NSString * path;//路径 //创建一个文件句柄对象 NSFileHandle * handle=[NSFileHandle fileHandleForReadingAtPath:path]; //指定数据写入位置---文件的 阅读全文
posted @ 2016-05-10 13:51 谢小锋 阅读(273) 评论(0) 推荐(0) 编辑
摘要: // // NSDictionary+DescribetionDictionary.m // fengzi // // Created by 谢泽锋 on 16/5/10. // Copyright © 2016年 xiezefeng. All rights reserved. // #import //数据字典数字打印中文显示 @implementation NSDictiona... 阅读全文
posted @ 2016-05-10 11:11 谢小锋 阅读(291) 评论(0) 推荐(0) 编辑
摘要: self.automaticallyAdjustsScrollViewInsets=NO;不调整高度 阅读全文
posted @ 2016-05-06 11:15 谢小锋 阅读(202) 评论(0) 推荐(0) 编辑
摘要: cell高亮时文字颜色 cell.textLabel.highlightedTextColor= 阅读全文
posted @ 2016-05-06 10:43 谢小锋 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 双击label 按住option ➕回车return 阅读全文
posted @ 2016-05-05 22:35 谢小锋 阅读(245) 评论(0) 推荐(0) 编辑
摘要: button.contentHorizontalAlignment=UIControlContentHorizontalAlignmentLeft; //按钮包裹 [button sizeToFit];//文字往外偏移 button.contentEdgeInsets=UIEdgeInsetsMak 阅读全文
posted @ 2016-05-05 21:04 谢小锋 阅读(944) 评论(0) 推荐(0) 编辑
摘要: [self.navigationController.navigationBar setBackgroundImage:[UIImage imageNamed:@""] forBarMetrics:UIBarMetricsDefault]; UI_APPEARANCE_SELECTOR 凡是有这个可 阅读全文
posted @ 2016-05-05 17:39 谢小锋 阅读(177) 评论(0) 推荐(0) 编辑
摘要: NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END 在这两个之间必须属性赋值不可以为空 null_resettable 允许set为空 get不为空 需要重写set 方法 @property(null_resettable,strong,nonatomic)N 阅读全文
posted @ 2016-05-04 16:23 谢小锋 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 需要对图片进行缓存 写入沙盒中,使用多线程下载图将队列放到字典中,value 线程 key 下载路径 判断是否有该key 没有创建添加一个线程下载 赋值图片只需刷新对应cell 就可以 @property(nonatomic,strong)NSMutableDictionary * imageCac 阅读全文
posted @ 2016-05-04 11:55 谢小锋 阅读(282) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 16 下一页