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"];
Add Comment
Please, Sign In to add comment