#import @interface NSArray (utils) - (NSArray *)intersect:(NSArray *)array withPropertyName:(NSString *)propertyName; - (NSArray *)difference:(NSArray *)array withPropertyName:(NSString *)propertyName; - (NSArray *)mapObjectsUsingBlock:(id (^)(id obj, NSUInteger idx))block; @end