//apple_ref/occ/intf/PINRemoteImageCategory_Deprecated

Deprecated version of protocol to implement on UIView subclasses to support PINRemoteImage

PINRemoteImageCategoryManager.h

//apple_ref/occ/intfm/PINRemoteImageCategory_Deprecated/setImageFromURL:

Set the image from the given URL.

PINRemoteImageCategoryManager.h - (void)setImageFromURL:(NSURL *)url `url

NSURL to fetch from.

` //api/name/setImageFromURL:

//apple_ref/occ/intfm/PINRemoteImageCategory_Deprecated/setImageFromURL:placeholderImage:

Set the image from the given URL and set placeholder image while image at URL is being retrieved.

PINRemoteImageCategoryManager.h - (void)setImageFromURL:(NSURL *)url placeholderImage:(UIImage *)placeholderImage `url

NSURL to fetch from.

` `placeholderImage

UIImage to set on the view while the image at URL is being retrieved.

` //api/name/setImageFromURL:placeholderImage:

//apple_ref/occ/intfm/PINRemoteImageCategory_Deprecated/setImageFromURL:completion:

Set the image from the given URL and call completion when finished.

PINRemoteImageCategoryManager.h - (void)setImageFromURL:(NSURL *)url completion:(PINRemoteImageManagerImageCompletion)completion `url

NSURL to fetch from.

` `completion

Called when url has been retrieved and set on view.

` //api/name/setImageFromURL:completion:

//apple_ref/occ/intfm/PINRemoteImageCategory_Deprecated/setImageFromURL:placeholderImage:completion:

Set the image from the given URL, set placeholder while image at url is being retrieved and call completion when finished.

PINRemoteImageCategoryManager.h - (void)setImageFromURL:(NSURL *)url placeholderImage:(UIImage *)placeholderImage completion:(PINRemoteImageManagerImageCompletion)completion `url

NSURL to fetch from.

` `placeholderImage

UIImage to set on the view while the image at URL is being retrieved.

` `completion

Called when url has been retrieved and set on view.

` //api/name/setImageFromURL:placeholderImage:completion:

//apple_ref/occ/intfm/PINRemoteImageCategory_Deprecated/setImageFromURL:processorKey:processor:

Retrieve the image from the given URL, process it using the passed in processor block and set result on view.

PINRemoteImageCategoryManager.h - (void)setImageFromURL:(NSURL *)url processorKey:(NSString *)processorKey processor:(PINRemoteImageManagerImageProcessor)processor `url

NSURL to fetch from.

` `processorKey

NSString key to uniquely identify processor. Used in caching.

` `processor

PINRemoteImageManagerImageProcessor processor block which should return the processed image.

` //api/name/setImageFromURL:processorKey:processor:

//apple_ref/occ/intfm/PINRemoteImageCategory_Deprecated/setImageFromURL:placeholderImage:processorKey:processor:

Set placeholder on view and retrieve the image from the given URL, process it using the passed in processor block and set result on view.

PINRemoteImageCategoryManager.h - (void)setImageFromURL:(NSURL *)url placeholderImage:(UIImage *)placeholderImage processorKey:(NSString *)processorKey processor:(PINRemoteImageManagerImageProcessor)processor `url

NSURL to fetch from.

` `placeholderImage

UIImage to set on the view while the image at URL is being retrieved.

` `processorKey

NSString key to uniquely identify processor. Used in caching.

` `processor

PINRemoteImageManagerImageProcessor processor block which should return the processed image.

` //api/name/setImageFromURL:placeholderImage:processorKey:processor:

//apple_ref/occ/intfm/PINRemoteImageCategory_Deprecated/setImageFromURL:processorKey:processor:completion:

Retrieve the image from the given URL, process it using the passed in processor block and set result on view. Call completion after image has been fetched, processed and set on view.

PINRemoteImageCategoryManager.h - (void)setImageFromURL:(NSURL *)url processorKey:(NSString *)processorKey processor:(PINRemoteImageManagerImageProcessor)processor completion:(PINRemoteImageManagerImageCompletion)completion `url

NSURL to fetch from.

` `processorKey

NSString key to uniquely identify processor. Used in caching.

` `processor

PINRemoteImageManagerImageProcessor processor block which should return the processed image.

` `completion

Called when url has been retrieved and set on view.

` //api/name/setImageFromURL:processorKey:processor:completion:

//apple_ref/occ/intfm/PINRemoteImageCategory_Deprecated/setImageFromURL:placeholderImage:processorKey:processor:completion:

Set placeholder on view and retrieve the image from the given URL, process it using the passed in processor block and set result on view. Call completion after image has been fetched, processed and set on view.

PINRemoteImageCategoryManager.h - (void)setImageFromURL:(NSURL *)url placeholderImage:(UIImage *)placeholderImage processorKey:(NSString *)processorKey processor:(PINRemoteImageManagerImageProcessor)processor completion:(PINRemoteImageManagerImageCompletion)completion `url

NSURL to fetch from.

` `placeholderImage

UIImage to set on the view while the image at URL is being retrieved.

` `processorKey

NSString key to uniquely identify processor. Used in caching.

` `processor

PINRemoteImageManagerImageProcessor processor block which should return the processed image.

` `completion

Called when url has been retrieved and set on view.

` //api/name/setImageFromURL:placeholderImage:processorKey:processor:completion:

//apple_ref/occ/intfm/PINRemoteImageCategory_Deprecated/setImageFromURLs:

Retrieve one of the images at the passed in URLs depending on previous network performance and set result on view.

PINRemoteImageCategoryManager.h - (void)setImageFromURLs:(NSArray *)urls `urls

NSArray of NSURLs sorted in increasing quality

` //api/name/setImageFromURLs:

//apple_ref/occ/intfm/PINRemoteImageCategory_Deprecated/setImageFromURLs:placeholderImage:

Set placeholder on view and retrieve one of the images at the passed in URLs depending on previous network performance and set result on view.

PINRemoteImageCategoryManager.h - (void)setImageFromURLs:(NSArray *)urls placeholderImage:(UIImage *)placeholderImage `urls

NSArray of NSURLs sorted in increasing quality

` `placeholderImage

UIImage to set on the view while the image at URL is being retrieved.

` //api/name/setImageFromURLs:placeholderImage:

//apple_ref/occ/intfm/PINRemoteImageCategory_Deprecated/setImageFromURLs:placeholderImage:completion:

Set placeholder on view and retrieve one of the images at the passed in URLs depending on previous network performance and set result on view. Call completion after image has been fetched and set on view.

PINRemoteImageCategoryManager.h - (void)setImageFromURLs:(NSArray *)urls placeholderImage:(UIImage *)placeholderImage completion:(PINRemoteImageManagerImageCompletion)completion `urls

NSArray of NSURLs sorted in increasing quality

` `placeholderImage

UIImage to set on the view while the image at URL is being retrieved.

` `completion

Called when url has been retrieved and set on view.

` //api/name/setImageFromURLs:placeholderImage:completion:

//apple_ref/occ/intfm/PINRemoteImageCategory_Deprecated/cancelImageDownload

Cancels the image download. Guarantees that previous setImage calls will not have their results set on the image view after calling this (as opposed to PINRemoteImageManager which does not guarantee cancellation).

PINRemoteImageCategoryManager.h - (void)cancelImageDownload //api/name/cancelImageDownload

//apple_ref/occ/intfm/PINRemoteImageCategory_Deprecated/downloadImageOperationUUID

Returns the NSUUID associated with any PINRemoteImage task currently running on the view.

PINRemoteImageCategoryManager.h - (NSUUID *)downloadImageOperationUUID

NSUUID associated with any PINRemoteImage task currently running on the view.

//api/name/downloadImageOperationUUID

//apple_ref/occ/intfm/PINRemoteImageCategory_Deprecated/setDownloadImageOperationUUID:

Set the current NSUUID associated with a PINRemoteImage task running on the view.

PINRemoteImageCategoryManager.h - (void)setDownloadImageOperationUUID:(NSUUID *)downloadImageOperationUUID `downloadImageOperationUUID

NSUUID associated with a PINRemoteImage task.

` //api/name/setDownloadImageOperationUUID:

//apple_ref/occ/intfm/PINRemoteImageCategory_Deprecated/set:

Whether the view should update with progress images (such as those provided by progressive JPEG images).

PINRemoteImageCategoryManager.h @property (nonatomic, assign) BOOL updateWithProgress __attribute ( ( deprecated ( "use pin_@property (nonatomic, assign) BOOL updateWithProgress" )

BOOL value indicating whether the view should update with progress images

//api/name/)

//apple_ref/occ/intfm/PINRemoteImageCategory_Deprecated/)

Whether the view should update with progress images (such as those provided by progressive JPEG images).

PINRemoteImageCategoryManager.h @property (nonatomic, assign) BOOL updateWithProgress __attribute ( ( deprecated ( "use pin_@property (nonatomic, assign) BOOL updateWithProgress" )

BOOL value indicating whether the view should update with progress images

//api/name/)

//apple_ref/occ/intfp/PINRemoteImageCategory_Deprecated/)

Whether the view should update with progress images (such as those provided by progressive JPEG images).

PINRemoteImageCategoryManager.h @property (nonatomic, assign) BOOL updateWithProgress __attribute ( ( deprecated ( "use pin_@property (nonatomic, assign) BOOL updateWithProgress" )

BOOL value indicating whether the view should update with progress images

//api/name/)