Update Prefetch Docs
Updated prefetchUrls: and prefetchUrls:progress:completed: documentation to mention that any already running prefetch operations are canceled if the operation is called.
This commit is contained in:
parent
032ab1dd6d
commit
45c0387f98
|
@ -78,7 +78,8 @@ typedef void(^SDWebImagePrefetcherCompletionBlock)(NSUInteger noOfFinishedUrls,
|
||||||
/**
|
/**
|
||||||
* Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching,
|
* Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching,
|
||||||
* currently one image is downloaded at a time,
|
* currently one image is downloaded at a time,
|
||||||
* and skips images for failed downloads and proceed to the next image in the list
|
* and skips images for failed downloads and proceed to the next image in the list.
|
||||||
|
* Any previously-running prefetch operations are canceled.
|
||||||
*
|
*
|
||||||
* @param urls list of URLs to prefetch
|
* @param urls list of URLs to prefetch
|
||||||
*/
|
*/
|
||||||
|
@ -87,7 +88,8 @@ typedef void(^SDWebImagePrefetcherCompletionBlock)(NSUInteger noOfFinishedUrls,
|
||||||
/**
|
/**
|
||||||
* Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching,
|
* Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching,
|
||||||
* currently one image is downloaded at a time,
|
* currently one image is downloaded at a time,
|
||||||
* and skips images for failed downloads and proceed to the next image in the list
|
* and skips images for failed downloads and proceed to the next image in the list.
|
||||||
|
* Any previously-running prefetch operations are canceled.
|
||||||
*
|
*
|
||||||
* @param urls list of URLs to prefetch
|
* @param urls list of URLs to prefetch
|
||||||
* @param progressBlock block to be called when progress updates;
|
* @param progressBlock block to be called when progress updates;
|
||||||
|
|
Loading…
Reference in New Issue