Conforms to NSObject
Declared in SDWebImageManager.h

Overview

Enable to allow untrusted SSL ceriticates. Useful for testing purposes. Use with caution in production.

Instance Methods

imageManager:shouldDownloadImageForURL:

Controls which image should be downloaded when the image is not found in the cache.

- (BOOL)imageManager:(SDWebImageManager *)imageManager shouldDownloadImageForURL:(NSURL *)imageURL

Parameters

imageManager

The current SDWebImageManager

imageURL

The url of the image to be downloaded

Return Value

Return NO to prevent the downloading of the image on cache misses. If not implemented, YES is implied.

Declared In

SDWebImageManager.h

imageManager:transformDownloadedImage:withURL:

Allows to transform the image immediately after it has been downloaded and just before to cache it on disk and memory. NOTE: This method is called from a global queue in order to not to block the main thread.

- (UIImage *)imageManager:(SDWebImageManager *)imageManager transformDownloadedImage:(UIImage *)image withURL:(NSURL *)imageURL

Parameters

imageManager

The current SDWebImageManager

image

The image to transform

imageURL

The url of the image to transform

Return Value

The transformed image object.

Declared In

SDWebImageManager.h