a guest Dec 7th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- - (NSArray *)filteredArrayUsingPredicate:(NSPredicate *)predicate
- to create the predicate use
- + (NSPredicate *)predicateWithBlock:(BOOL (^)(id evaluatedObject, NSDictionary *bindings))block
- and something in the block like
- return [[evaluatedObject myThing] isEqualToString:@"Foo"];
RAW Paste Data