摘要: 第1章 Objective-C学习环境准备 1.1 Objective-C基础 1.1.1 Objective-C的发展历程 1.1.2 Objective-C语言的特点 1.1.3 技术架构 1.2 开发环境 1.2.1 注册开发者账号 1.2.2 下载安装Xcode ... 阅读全文
posted @ 2015-05-06 23:19 汤冉阳 阅读(1498) 评论(0) 推荐(0) 编辑
摘要: #import int main (int argc, const char * argv[]){ @autoreleasepool { NSFileManager *manager = [NSFileManager defaultManager]; //如果是相对相对路径转换为绝对路... 阅读全文
posted @ 2015-05-06 22:27 汤冉阳 阅读(569) 评论(0) 推荐(0) 编辑
摘要: #import //排序算法,应用于NSArray *arr=[arrs1 sortedArrayUsingFunction:sortByID context:nil];排序NSInteger sortByID(id obj1, id obj2, void *context){ NSString ... 阅读全文
posted @ 2015-05-06 20:12 汤冉阳 阅读(115) 评论(0) 推荐(0) 编辑