Objective-C / June 3, 2012

NSArray map

I had an NSArray of objects (all the same). I needed a property out of all of those objects. So I created a Category on NSArray to add this functionality. It loops through each object and performs a selector creating a new array from the results. One important note is that since you can’t put

Read More