随笔分类 -  iOS开发知识体系

注重基础,主要保证知识面全、广、由浅入深,作为教材用
摘要:reference: http://blog.sina.com.cn/s/blog_722017670100v2b4.htmlnil: A null pointer to an Objective-C object. ( #define nil ((id)0) ) Nil: A null pointer to an Objective-C class.NULL: A null pointer to anything else. ( #define NULL ((void *)0) ) eg.SEL、IMP ... If someone sees you passing NULL, they k 阅读全文
posted @ 2013-06-06 16:02 yshch 阅读(305) 评论(0) 推荐(0)
摘要:一、获取文件属性的方法: 1> NSDictionary *folderAttr = [[NSFileManager defaultManager] attributesOfFileSystemForPath:NSHomeDirectory() error:nil]; 获取文件夹大小:[folderAttr objectForKey:NSFileSystemSize]; 剩余空间:[folderAttr objectForKey:NSFileSystemFreeSize]; 代替方法:fileSystemAttributesAtPath 2> NSDictionary * file 阅读全文
posted @ 2013-05-29 22:41 yshch 阅读(823) 评论(0) 推荐(1)