@property (strong, nonatomic) void (^completion)(NSArray *objects, NSError *error, NSInteger skipped);
#pragma mark -
- (instancetype)initWithCompletion:(void (^)(NSArray *objects, NSError *error, NSInteger skipped))completion {
if (self = [super init]) {
self.completion = completion;
}
return self;
}
Keep blocks in variables
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.