Inherits from UIImageView
Declared in DTLazyImageView.h

Overview

This UIImageView subclass lazily loads an image from a URL and informs a delegate once the size of the image is known.

Tasks

Providing Content

Getting Information

Cancelling Download

Properties

delegate

The delegate, conforming to DTLazyImageViewDelegate, to inform when the image dimensions were determined

@property (nonatomic, DT_WEAK_PROPERTY) id<DTLazyImageViewDelegate> delegate

Declared In

DTLazyImageView.h

shouldShowProgressiveDownload

Set to YES to support progressive display of progressive downloads

@property (nonatomic, assign) BOOL shouldShowProgressiveDownload

Declared In

DTLazyImageView.h

url

The URL of the remote image

@property (nonatomic, strong) NSURL *url

Declared In

DTLazyImageView.h

urlRequest

The URL Request that is to be used for downloading the image. If this is left nil the a new URL Request will be created

@property (nonatomic, strong) NSMutableURLRequest *urlRequest

Declared In

DTLazyImageView.h

Instance Methods

cancelLoading

Cancels the image downloading

- (void)cancelLoading

Declared In

DTLazyImageView.h