| - (BOOL) imageManager: |
|
(SDWebImageManager *) |
imageManager |
| shouldDownloadImageForURL: |
|
(NSURL *) |
imageURL |
|
|
| |
|
optional |
Controls which image should be downloaded when the image is not found in the cache.
- Parameters
-
| imageManager | The current SDWebImageManager |
| imageURL | The url of the image to be downloaded |
- Returns
- Return NO to prevent the downloading of the image on cache misses. If not implemented, YES is implied.
| - (UIImage *) imageManager: |
|
(SDWebImageManager *) |
imageManager |
| transformDownloadedImage: |
|
(UIImage *) |
image |
| withURL: |
|
(NSURL *) |
imageURL |
|
|
| |
|
optional |
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.
- Parameters
-
| imageManager | The current SDWebImageManager |
| image | The image to transform |
| imageURL | The url of the image to transform |
- Returns
- The transformed image object.
The documentation for this protocol was generated from the following file: