Skip to content

A simple class to display the UIImage progressively while downloading.

License

Notifications You must be signed in to change notification settings

jsramraj/RSImageView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSImageView

UIImage progressive download.

RSImageView is a simple and easy-to-use UIImageView subclass for the iOS app. The RSImageView class uses NSURLConnection behind, and constructs the UIImage from the downloaded data from the delegate methods of NSURLConnections.

Screenshot

Usage

RSImageView *imageView = [[RSImageView alloc] initWithFrame:CGRectMake(10, 30, 340, 400)];
[imageView setImageURL:[NSURL URLWithString:@"https://docs.google.com/uc?export=download&id=0B6gRtssGeIGqTlRQT05QWFc5azg"]];
[self.view addSubview:imageView];

[imageView start];

(see the sample project for more details)

You can stop the download by calling the pause action of RSImageView at any time.

About

A simple class to display the UIImage progressively while downloading.

Resources

License

Stars

Watchers

Forks

Packages

No packages published