Nicolas Seriot has written a category on NSArray to add map, filter, and reduce functionality. You pass a selector and a variable number of arguments, and it performs the selector on each object in the array. Blocks are much nicer, of course, but they’re not available yet in Objective-C. Higher order messaging provides type-checking at … Continue reading NSArray+Functional
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed