ASNetworkImageNodeDelegate Protocol Reference

Conforms to NSObject
Declared in ASNetworkImageNode.h

Overview

The methods declared by the ASNetworkImageNodeDelegate protocol allow the adopting delegate to respond to notifications such as finished decoding and downloading an image.

– imageNode:didLoadImage:

Notification that the image node finished downloading an image.

- (void)imageNode:(ASNetworkImageNode *)imageNode didLoadImage:(UIImage *)image

Parameters

imageNode

The sender.

image

The newly-loaded image.

Discussion

Called on a background queue.

Declared In

ASNetworkImageNode.h

– imageNodeDidStartFetchingData:

Notification that the image node started to load

- (void)imageNodeDidStartFetchingData:(ASNetworkImageNode *)imageNode

Parameters

imageNode

The sender.

Discussion

Called on a background queue.

Declared In

ASNetworkImageNode.h

– imageNode:didFailWithError:

Notification that the image node failed to download the image.

- (void)imageNode:(ASNetworkImageNode *)imageNode didFailWithError:(NSError *)error

Parameters

imageNode

The sender.

error

The error with details.

Discussion

Called on a background queue.

Declared In

ASNetworkImageNode.h

– imageNodeDidFinishDecoding:

Notification that the image node finished decoding an image.

- (void)imageNodeDidFinishDecoding:(ASNetworkImageNode *)imageNode

Parameters

imageNode

The sender.

Declared In

ASNetworkImageNode.h