Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 9e9f6f2743
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (16 sloc) 0.407 kB
//
// NSArray+BBlock.m
// BBlock
//
// Created by David Keegan on 3/7/12.
// Copyright 2012 David Keegan. All rights reserved.
//
#import "NSArray+BBlock.h"
@implementation NSArray(BBlock)
- (void)enumerateEachObjectUsingBlock:(void(^)(id obj))block{
NSParameterAssert(block != nil);
[self enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop){
block(obj);
}];
}
@end
Jump to Line
Something went wrong with that request. Please try again.