Updated doc marking the completedBlock parameter of downloadWithURL:options:progress:completed as required

This commit is contained in:
Gabriele Petronella 2013-08-29 13:03:33 +01:00
parent f37474d5c8
commit 5bbddae80d
1 changed files with 3 additions and 1 deletions

View File

@ -142,7 +142,9 @@ SDWebImageManager *manager = [SDWebImageManager sharedManager];
* @param progressBlock A block called while image is downloading * @param progressBlock A block called while image is downloading
* @param completedBlock A block called when operation has been completed. * @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. * 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 * The third parameter is an `SDImageCacheType` enum indicating if the image was retrived from the local cache