1234567891011121314 |
- #import <Foundation/Foundation.h>
-
- @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;
-
- - (NSArray *)sortByPropertyName:(NSString *)propertyName;
-
- @end
|