1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 10:27:46 +01:00
Telegram/thirdparty/GDFileManager/GDDispatchUtilities.h
2015-10-01 19:19:52 +03:00

24 lines
1.3 KiB
Objective-C
Executable File

//
// GDDispatchUtilities.h
// GDFileManagerExample
//
// Created by Graham Dennis on 3/07/13.
// Copyright (c) 2013 Graham Dennis. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef void(^AsyncSequentialEnumerationContinuationBlock)(BOOL keepGoing);
void __attribute__((overloadable)) AsyncSequentialEnumeration(NSEnumerator *enumerator,
void (^iterationBlock)(id object, AsyncSequentialEnumerationContinuationBlock continuationBlock));
void __attribute__((overloadable)) AsyncSequentialEnumeration(NSEnumerator *enumerator,
void (^iterationBlock)(id object, AsyncSequentialEnumerationContinuationBlock continuationBlock),
void (^completionBlock)(BOOL completed));
void __attribute__((overloadable)) AsyncSequentialEnumeration(NSEnumerator *enumerator,
dispatch_queue_t queue,
void (^iterationBlock)(id object, AsyncSequentialEnumerationContinuationBlock continuationBlock),
void (^completionBlock)(BOOL completed));