...
|
...
|
@@ -21,59 +21,73 @@ |
|
|
*
|
|
|
* @param url The url for the image.
|
|
|
*/
|
|
|
- (void)setHighlightedImageWithURL:(NSURL *)url;
|
|
|
- (void)loadHighlightedImageWithURL:(NSURL *)url;
|
|
|
|
|
|
/**
|
|
|
* Set the imageView `highlightedImage` with an `url` and custom options.
|
|
|
*
|
|
|
* The downloand is asynchronous and cached.
|
|
|
*
|
|
|
* @param url The url for the image.
|
|
|
* @param url The url for the image.
|
|
|
* @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
|
|
|
*/
|
|
|
- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options;
|
|
|
- (void)loadHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options;
|
|
|
|
|
|
/**
|
|
|
* Set the imageView `highlightedImage` with an `url`.
|
|
|
*
|
|
|
* The downloand is asynchronous and cached.
|
|
|
*
|
|
|
* @param url The url for the image.
|
|
|
* @param completedBlock A block called when operation has been completed. This block as no return value
|
|
|
* @param url The url for the image.
|
|
|
* @param completedBlock A block called when operation has been completed. This block has no return value
|
|
|
* and takes the requested UIImage as first parameter. In case of error the image parameter
|
|
|
* is nil and the second parameter may contain an NSError. The third parameter is a Boolean
|
|
|
* indicating if the image was retrived from the local cache of from the network.
|
|
|
* The forth parameter is the original image url.
|
|
|
*/
|
|
|
- (void)setHighlightedImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock;
|
|
|
- (void)loadHighlightedImageWithURL:(NSURL *)url completed:(SDWebImageCompletionBlock)completedBlock;
|
|
|
|
|
|
/**
|
|
|
* Set the imageView `highlightedImage` with an `url` and custom options.
|
|
|
*
|
|
|
* The downloand is asynchronous and cached.
|
|
|
*
|
|
|
* @param url The url for the image.
|
|
|
* @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
|
|
|
* @param completedBlock A block called when operation has been completed. This block as no return value
|
|
|
* @param url The url for the image.
|
|
|
* @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
|
|
|
* @param completedBlock A block called when operation has been completed. This block has no return value
|
|
|
* and takes the requested UIImage as first parameter. In case of error the image parameter
|
|
|
* is nil and the second parameter may contain an NSError. The third parameter is a Boolean
|
|
|
* indicating if the image was retrived from the local cache of from the network.
|
|
|
* The forth parameter is the original image url.
|
|
|
*/
|
|
|
- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock;
|
|
|
- (void)loadHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock;
|
|
|
|
|
|
/**
|
|
|
* Set the imageView `highlightedImage` with an `url` and custom options.
|
|
|
*
|
|
|
* The downloand is asynchronous and cached.
|
|
|
*
|
|
|
* @param url The url for the image.
|
|
|
* @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
|
|
|
* @param progressBlock A block called while image is downloading
|
|
|
* @param completedBlock A block called when operation has been completed. This block as no return value
|
|
|
* @param url The url for the image.
|
|
|
* @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
|
|
|
* @param progressBlock A block called while image is downloading
|
|
|
* @param completedBlock A block called when operation has been completed. This block has no return value
|
|
|
* and takes the requested UIImage as first parameter. In case of error the image parameter
|
|
|
* is nil and the second parameter may contain an NSError. The third parameter is a Boolean
|
|
|
* indicating if the image was retrived from the local cache of from the network.
|
|
|
* The forth parameter is the original image url.
|
|
|
*/
|
|
|
- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock;
|
|
|
- (void)loadHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletionBlock)completedBlock;
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
@interface UIImageView (HighlightedWebCacheDeprecated)
|
|
|
|
|
|
- (void)setHighlightedImageWithURL:(NSURL *)url __deprecated_msg("Method deprecated. Use `loadHighlightedImageWithURL:`");
|
|
|
- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options __deprecated_msg("Method deprecated. Use `loadHighlightedImageWithURL:options:`");
|
|
|
|
|
|
- (void)setHighlightedImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg("Method deprecated. Use `loadHighlightedImageWithURL:completed:`");
|
|
|
- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg("Method deprecated. Use `loadHighlightedImageWithURL:options:completed:`");
|
|
|
- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg("Method deprecated. Use `loadHighlightedImageWithURL:options:progress:completed:`");
|
|
|
|
|
|
@end |
...
|
...
|
|