News for hackers. Stuff that matters.
Re:Swift and the Legacy of Functional Programming by antfarm on Monday November 21, 2016 @12:55PM (#13007388)
It's ugly, but possible:

  NSArray *filteredArray = [array filteredArrayUsingPredicate:[NSPredicate predicateWithBlock:^BOOL(id object, NSDictionary *bindings) {
      return [object test];
  }]];

There are no comments on this comment yet.