SDWebImagePrefetcher Class Reference
Inherits from | NSObject |
Declared in | SDWebImagePrefetcher.h SDWebImagePrefetcher.m |
Properties
Instance Methods
cancelPrefetching
Remove and cancel queued list
- (void)cancelPrefetching
Declared In
SDWebImagePrefetcher.h
prefetchURLs:
Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, currently one image is downloaded at a time, and skips images for failed downloads and proceed to the next image in the list
- (void)prefetchURLs:(NSArray *)urls
Parameters
- urls
list of URLs to prefetch
Declared In
SDWebImagePrefetcher.h
prefetchURLs:completed:
Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, currently one image is downloaded at a time, and skips images for failed downloads and proceed to the next image in the list
- (void)prefetchURLs:(NSArray *)urls completed:(void ( ^ ) ( NSUInteger finishedCount , NSUInteger skippedCount ))completionBlock
Parameters
- urls
list of URLs to prefetch
- completionBlock
block to be called when prefetching is completed
Declared In
SDWebImagePrefetcher.h