NSPredicate predicateWithFormat方法支持的格式
摘要:
NSPredicatepredicateWithFormat函数功能强大,写法也挺多的,总结一下。NSPredicate创建谓词使用类方法predicateWithFormat: (NSString*) format,format 里的东西和SQL 的where 条件差不多。另外,参数format 与NSLog 的格式化模版差不多,例如:1 和188.0 是传递过来的参数,你可以写成如下的形式:... 阅读全文
posted @ 2012-11-23 15:53 流れ星ーー 阅读(414) 评论(0) 推荐(0) 编辑