Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有一个Foo具有布尔属性的对象,isLegit我该如何编写一个 NSPredicate 以过滤掉该属性设置为的对象NO?
Foo
isLegit
NO
[NSPredicate predicateWithFormat:@"(isLegit == NO)]