I have write a little class to perform the download of the images by using an NSURLConnection. The idea it\'s to delegate the download to this class to avoid to block the execu
Simply follow the steps:
1) Download SDWebImage below And drag to your xcode project.
Click here to Download the SDWebImage
2) Write the following code in your .h file #import "UIImageView+WebCache.h"
3) Write the following code for your image view
[yourImageView setImageWithURL:[NSURL URLWithString:@"www.sample.com/image.png"]];
Thats its... you have done!!!