react-native-navigation的迁移库

NSArray+utils.h 370B

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