From 5bbddae80dda51dd2b0bbee9660fca0572d3f0d5 Mon Sep 17 00:00:00 2001 From: Gabriele Petronella Date: Thu, 29 Aug 2013 13:03:33 +0100 Subject: [PATCH] Updated doc marking the completedBlock parameter of downloadWithURL:options:progress:completed as required --- SDWebImage/SDWebImageManager.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SDWebImage/SDWebImageManager.h b/SDWebImage/SDWebImageManager.h index 736fbba8..da8abcec 100644 --- a/SDWebImage/SDWebImageManager.h +++ b/SDWebImage/SDWebImageManager.h @@ -142,7 +142,9 @@ SDWebImageManager *manager = [SDWebImageManager sharedManager]; * @param progressBlock A block called while image is downloading * @param completedBlock A block called when operation has been completed. * - * This block as no return value and takes the requested UIImage as first parameter. + * This parameter is required. + * + * This block has no return value and takes the requested UIImage as first parameter. * In case of error the image parameter is nil and the second parameter may contain an NSError. * * The third parameter is an `SDImageCacheType` enum indicating if the image was retrived from the local cache