1
我想写类似许多一对多字符串比较
[NSPredicate predicateWithFormat:@"ANY manyNames in %@", allNames];
而是一个谓语“在”我需要“像”
[NSPredicate predicateWithFormat:@"ANY manyNames like %@", allNames];
这将导致一个错误。
所以我想用许多名称的对象获得结果,这些对象与所有名称中的至少一个类似。
这有一个'like'示例https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Predicates/Articles/pCreating.html – Almo 2012-07-23 20:38:30