Skip to content

Replacement for UIImageView that asynchronously shows an image downloaded from an URL. While the download is running an activity indicator is shown over the view. A block is invoked when the image has finishing download.

Notifications You must be signed in to change notification settings

emenegro/remote-imageview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MNMRemoteImageView is a simple drop-in replacement for UIImageView that asynchronously shows an image downloaded from an URL. You can use the control as a regular UIImageView.

While the download is running an activity indicator is shown over the view. A block is invoked when the image has finishing download.

Installation instructions

  1. Import MNMremoteImageView files into your project.

  2. Create the image view as always, from a XIB or initializing it with the regular constructors.

  3. You can show an image from an URL this way

     [remoteImageView displayImageFromURL:url
                        completionHandler:^(NSError *error) {
                           // Do something 
                        }];
    
  4. You can see some examples in ViewController class.

Documentation

Execute appledoc appledoc.plist in the root of the project path to generate documentation.

About

Replacement for UIImageView that asynchronously shows an image downloaded from an URL. While the download is running an activity indicator is shown over the view. A block is invoked when the image has finishing download.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published