summaryrefslogtreecommitdiffstats
path: root/macosx/NSArray+HBAdditions.h
blob: deb2796a4e1e617c2a895da7e5f0de9ae6879c73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
//  NSArray+NSArray_HBArrayAdditions.h
//  HandBrake
//
//  Created by Damiano Galassi on 22/07/15.
//
//

#import <Foundation/Foundation.h>

@interface NSMutableArray (HBAdditions)

- (void)removeObjectsUsingBlock:(BOOL (^)(id object))block;

@end


@interface NSArray (HBAdditions)

- (NSArray *)filteredArrayUsingBlock:(BOOL (^)(id object))block;
- (NSIndexSet *)indexesOfObjectsUsingBlock:(BOOL (^)(id object))block;

@end