Conforms to NSObject
Declared in SDWebImagePrefetcher.h

Instance Methods

imagePrefetcher:didFinishWithTotalCount:skippedCount:

Called when all images are prefetched.

- (void)imagePrefetcher:(SDWebImagePrefetcher *)imagePrefetcher didFinishWithTotalCount:(NSUInteger)totalCount skippedCount:(NSUInteger)skippedCount

Parameters

imagePrefetcher

The current image prefetcher

totalCount

The total number of images that need to be prefetched

skippedCount

The total number of images that were skipped

Declared In

SDWebImagePrefetcher.h

imagePrefetcher:didPrefetchURL:finishedCount:totalCount:

Called when an image was prefetched.

- (void)imagePrefetcher:(SDWebImagePrefetcher *)imagePrefetcher didPrefetchURL:(NSURL *)imageURL finishedCount:(NSUInteger)finishedCount totalCount:(NSUInteger)totalCount

Parameters

imagePrefetcher

The current image prefetcher

imageURL

The image url that was prefetched

finishedCount

The total number of images that were prefetched

totalCount

The total number of images that need to be prefetched

Declared In

SDWebImagePrefetcher.h