摘要: NSPredicate:对self每个对象通过谓词进行筛选,判断是否与条件相匹配。作用相当于数据库的过滤取。主要用于从集合中分拣出符合条件的对象,也可以用于字符串的正则匹配第一、contains 判断 NSArray*array = [[NSArrayalloc]initWithObjects:... 阅读全文
posted @ 2014-04-30 16:53 勿忘初心,方得始终 阅读(280) 评论(0) 推荐(0) 编辑
摘要: Block 讲的很明白的一个http://www.cnbluebox.com/?p=255 阅读全文
posted @ 2014-04-30 16:10 勿忘初心,方得始终 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 这个写的很明白http://zengwu3915.blog.163.com/blog/static/2783489720137410539278/?suggestedreading&wumii本文参考:http://www.cocoachina.com/newbie/tutorial/2013/05... 阅读全文
posted @ 2014-04-30 15:52 勿忘初心,方得始终 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 【转】- (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath{returnUITableViewCellEditi... 阅读全文
posted @ 2014-04-30 15:05 勿忘初心,方得始终 阅读(555) 评论(0) 推荐(0) 编辑