Category For Async Task in loop

I have create this simple drag and drop category of array that will handle asynchronous task in loop.

[array enumerateTaskSequentially:^(id URL, NSUInteger idx, BlockTaskCompletion completion) {
// you can call your async task from here and at the end of the cast call ‘completion’ block
//once you call completion block then after next iteration get executed
} blockCompleteAllTask:^{
NSLog(@“all task completed”);

if you have any doubt contact me on