摘要: //转:http://blog.csdn.net/carmazhao/article/details/8205069-(void)test_file{ // 获取程序Documents目录路径 NSArray *paths = NSSearchPathForDirectoriesInDo... 阅读全文
posted @ 2013-11-13 22:03 Forrest.Wang 阅读(1063) 评论(0) 推荐(0) 编辑
摘要: 转:http://www.cnblogs.com/cpcpc/archive/2012/06/15/2550230.html1,NSData 与 NSString NSData --> NSString NSString *aString = [[NSString alloc] initWith... 阅读全文
posted @ 2013-11-13 21:43 Forrest.Wang 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 参考:http://wiki.eoe.cn/page/iOS_objective-c_20020.html#一、NSValue包装任意数据类型可使用下面的类方法创建新的NSValue+ (NSValue *) valueWithBytes: (const void *) value objCTyp... 阅读全文
posted @ 2013-11-13 20:40 Forrest.Wang 阅读(466) 评论(0) 推荐(0) 编辑
摘要: /*本文介绍了:NSArray(有序的集合,存储的元素在一个整块的内存中并按序排列)、 NSMutableArray、 NSDictionary(键值映射)、 NSMutableDictionary、 NSSet(无序的集合,散列存储)、 NSMuta... 阅读全文
posted @ 2013-11-13 16:50 Forrest.Wang 阅读(126) 评论(0) 推荐(0) 编辑
摘要: // 参考:http://www.myexception.cn/mobile/455287.html // NSString.html 的官方文档介绍: // https://developer.apple.com/library/ios/documentation/Cocoa/... 阅读全文
posted @ 2013-11-13 15:28 Forrest.Wang 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 该文章用于展现 Object-C中的类的基本结构,以便参考。1、头文件定义:AlsTemplate.h//// AlsTemplate.h// EasyObjectC//// Created by Allison on 13-9-20.// Copyright (c) 2013年 RuiHu... 阅读全文
posted @ 2013-11-13 14:53 Forrest.Wang 阅读(303) 评论(0) 推荐(0) 编辑