From f717d507a5bca54bad37e01a780706ddd3942c85 Mon Sep 17 00:00:00 2001 From: Rune Madsen Date: Sat, 15 Feb 2014 15:46:10 -0500 Subject: [PATCH] Missing method definition in header file --- SDWebImage/SDWebImagePrefetcher.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SDWebImage/SDWebImagePrefetcher.h b/SDWebImage/SDWebImagePrefetcher.h index 65325654..991602a5 100644 --- a/SDWebImage/SDWebImagePrefetcher.h +++ b/SDWebImage/SDWebImagePrefetcher.h @@ -73,9 +73,10 @@ * and skips images for failed downloads and proceed to the next image in the list * * @param urls list of URLs to prefetch + * @param progressBlock block to be called when progress updates * @param completionBlock block to be called when prefetching is completed */ -- (void)prefetchURLs:(NSArray *)urls completed:(void (^)(NSUInteger finishedCount, NSUInteger skippedCount))completionBlock; +- (void)prefetchURLs:(NSArray *)urls progress:(void (^)(NSUInteger, NSUInteger))progressBlock completed:(void (^)(NSUInteger, NSUInteger))completionBlock; /** * Remove and cancel queued list