react-native-navigation的迁移库

NSArray+utils.h 311B

123456789101112
  1. #import <Foundation/Foundation.h>
  2. @interface NSArray (utils)
  3. - (NSArray *)intersect:(NSArray *)array withPropertyName:(NSString *)propertyName;
  4. - (NSArray *)difference:(NSArray *)array withPropertyName:(NSString *)propertyName;
  5. - (NSArray *)mapObjectsUsingBlock:(id (^)(id obj, NSUInteger idx))block;
  6. @end