LuxChat  2.0
Instant messenger for iOS
Instance Methods | List of all members
UIImageView(HighlightedWebCache) Category Reference

#import <UIImageView+HighlightedWebCache.h>

Instance Methods

(void) - sd_setHighlightedImageWithURL:
 
(void) - sd_setHighlightedImageWithURL:options:
 
(void) - sd_setHighlightedImageWithURL:completed:
 
(void) - sd_setHighlightedImageWithURL:options:completed:
 
(void) - sd_setHighlightedImageWithURL:options:progress:completed:
 
(void) - sd_cancelCurrentHighlightedImageLoad
 

Detailed Description

Integrates SDWebImage async downloading and caching of remote images with UIImageView for highlighted state.

Method Documentation

- (void) sd_cancelCurrentHighlightedImageLoad

Cancel the current download

- (void) sd_setHighlightedImageWithURL: (NSURL *)  url

Set the imageView highlightedImage with an url.

The download is asynchronous and cached.

Parameters
urlThe url for the image.
- (void) sd_setHighlightedImageWithURL: (NSURL *)  url
completed: (SDWebImageCompletionBlock)  completedBlock 

Set the imageView highlightedImage with an url.

The download is asynchronous and cached.

Parameters
urlThe url for the image.
completedBlockA 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 or from the network. The fourth parameter is the original image url.
- (void) sd_setHighlightedImageWithURL: (NSURL *)  url
options: (SDWebImageOptions)  options 

Set the imageView highlightedImage with an url and custom options.

The download is asynchronous and cached.

Parameters
urlThe url for the image.
optionsThe options to use when downloading the image.
See also
SDWebImageOptions for the possible values.
- (void) sd_setHighlightedImageWithURL: (NSURL *)  url
options: (SDWebImageOptions)  options
completed: (SDWebImageCompletionBlock)  completedBlock 

Set the imageView highlightedImage with an url and custom options.

The download is asynchronous and cached.

Parameters
urlThe url for the image.
optionsThe options to use when downloading the image.
See also
SDWebImageOptions for the possible values.
Parameters
completedBlockA 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 or from the network. The fourth parameter is the original image url.
- (void) sd_setHighlightedImageWithURL: (NSURL *)  url
options: (SDWebImageOptions)  options
progress: (SDWebImageDownloaderProgressBlock)  progressBlock
completed: (SDWebImageCompletionBlock)  completedBlock 

Set the imageView highlightedImage with an url and custom options.

The download is asynchronous and cached.

Parameters
urlThe url for the image.
optionsThe options to use when downloading the image.
See also
SDWebImageOptions for the possible values.
Parameters
progressBlockA block called while image is downloading
completedBlockA 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 or from the network. The fourth parameter is the original image url.

The documentation for this category was generated from the following files: