diff options
Diffstat (limited to 'macosx/NSArray+HBAdditions.h')
-rw-r--r-- | macosx/NSArray+HBAdditions.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/macosx/NSArray+HBAdditions.h b/macosx/NSArray+HBAdditions.h new file mode 100644 index 000000000..deb2796a4 --- /dev/null +++ b/macosx/NSArray+HBAdditions.h @@ -0,0 +1,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
\ No newline at end of file |