06 2014 档案

NSPredicate类
摘要:NSPredicate类,指定过滤器的条件 1 // 设置谓词条件 2 NSPredicate *predicate = [NSPredicate predicateWithFormat:@"age 'bruse' && age < %d", 30];22 NSArray *array4 = [a... 阅读全文

posted @ 2014-06-05 19:35 ★行云流水★ 阅读(146) 评论(0) 推荐(0)

NSString类
摘要:1 //以separator为节点分割字符串2 - (NSArray *)componentsSeparatedByString:(NSString *)separator;3 4 //NSString转换为const char *5 NSString *str = @"abc";6 const c... 阅读全文

posted @ 2014-06-02 19:44 ★行云流水★ 阅读(128) 评论(0) 推荐(0)

安装配置ASIHTTPRequest框架
摘要:下载ASIHTTPRequest框架,解压后,把加到工程中,然后还需要添加一些支持的类库和框架:(TARGETS->Build Phases->Link Binary With Libraries)ASIHTTPRequest不支持ARC内存管理,因此如果我们采用了ARC,应该设置一下编译参数"-f... 阅读全文

posted @ 2014-06-01 10:43 ★行云流水★ 阅读(176) 评论(0) 推荐(0)