摘要: #define XMGBoundary @"520it"#define XMGEncode(string) [string dataUsingEncoding:NSUTF8StringEncoding]#define XMGNewLine [@"\r\n" dataUsingEncoding:NSU 阅读全文
posted @ 2016-05-10 16:56 谢小锋 阅读(171) 评论(0) 推荐(0)
摘要: 使用一个第三方框架ZipArchive githud地址 需要倒入libz.tbd框架 https://github.com/ZipArchive/ZipArchive NSArray * array=@[ @"/Users/xiezefeng/Desktop/1.png", @"/Users/xi 阅读全文
posted @ 2016-05-10 14:38 谢小锋 阅读(137) 评论(0) 推荐(0)
摘要: NSFileHandle文件写入的好处时连续写入不会别覆盖 NSString * path;//路径 //创建一个文件句柄对象 NSFileHandle * handle=[NSFileHandle fileHandleForReadingAtPath:path]; //指定数据写入位置---文件的 阅读全文
posted @ 2016-05-10 13:51 谢小锋 阅读(279) 评论(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 谢小锋 阅读(300) 评论(0) 推荐(0)