Skip to content

Latest commit

 

History

History
executable file
·
22 lines (15 loc) · 944 Bytes

README.md

File metadata and controls

executable file
·
22 lines (15 loc) · 944 Bytes

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.