summaryrefslogtreecommitdiffstats
path: root/macosx/NSArray+HBAdditions.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-10-19 17:57:49 +0200
committerDamiano Galassi <[email protected]>2015-10-19 17:57:49 +0200
commit333a81d49982c504bbc3ba7bcb88787442a3a8c4 (patch)
tree2136c41bfb66fd26578b5305f39ec9a6637e9282 /macosx/NSArray+HBAdditions.m
parente5b59be057da16e782d970e41299d78beef9e878 (diff)
MacGui: improved queue with undo/redo support for adding/removing jobs, and added a icon for failed encode.
Diffstat (limited to 'macosx/NSArray+HBAdditions.m')
-rw-r--r--macosx/NSArray+HBAdditions.m17
1 files changed, 0 insertions, 17 deletions
diff --git a/macosx/NSArray+HBAdditions.m b/macosx/NSArray+HBAdditions.m
index babcc9f15..c54147098 100644
--- a/macosx/NSArray+HBAdditions.m
+++ b/macosx/NSArray+HBAdditions.m
@@ -8,23 +8,6 @@
#import "NSArray+HBAdditions.h"
-@implementation NSMutableArray (HBAdditions)
-
-- (void)removeObjectsUsingBlock:(BOOL (^)(id object))block
-{
- NSMutableArray *objectsToRemove = [NSMutableArray array];
- for (id object in self)
- {
- if (block(object))
- {
- [objectsToRemove addObject:object];
- }
- }
- [self removeObjectsInArray:objectsToRemove];
-}
-
-@end
-
@implementation NSArray (HBAdditions)
- (NSArray *)filteredArrayUsingBlock:(BOOL (^)(id object))block