ios-file
文章平均质量分 84
maomaoyu3211
这个作者很懒,什么都没留下…
展开
-
iOS的SandBox的结构
在模拟器中运行iOS程序,都会为该程序创建一个沙盒(SandBox)。首先声明,我用的系统是Max OS X 10.7.3,编译器是Xcode 4.3.2。想要找到沙盒目录,先运行Finder,然后在Finder的菜单栏找到前往—前往文件夹…,在打开的窗口输入/Users/UserName/Library/Application Support/iPhone Simulator/...原创 2012-08-12 00:46:02 · 80 阅读 · 0 评论 -
NSFileManager和NSFileHandle
//file文件操作NSFileManager 常见的NSFileManager文件的方法:-(BOOL)contentsAtPath:path 从文件中读取数据-(BOOL)createFileAtPath:path contents:(BOOL)data attributes:attr 向一个文件写入数据-(BOOL)re...原创 2013-05-16 22:57:43 · 84 阅读 · 0 评论 -
NSXMLParser :xml to NSDictionary
#import <Foundation/Foundation.h>enum { XMLReaderOptionsProcessNamespaces = 1 << 0, // Specifies whether the receiver reports the namespace and the qualified name o...原创 2013-06-14 13:52:26 · 116 阅读 · 0 评论 -
NSJSONSerialization
以前一直用的是SBJSON!NSJSONSerialization是5.0开始提供的,关于和其他的开源库的解析速度对比:http://arthurchen.blog.51cto.com/2483760/723910。NSJSONSerialization 文档:https://developer.apple.com/library/ios/#documentation/Foundatio...原创 2013-09-24 00:51:38 · 100 阅读 · 0 评论