-5

I am making a table that has images and data in each cell.

I want to load the images from a web server asynchronously without actually caching them.

Can anybody please help.?

Krishnabhadra
  • 34,169
  • 30
  • 118
  • 167
anky_believeMe
  • 484
  • 1
  • 4
  • 14
  • Use this Link : https://github.com/AFNetworking/AFNetworking – h.kishan Aug 07 '13 at 10:33
  • 1
    this might help http://stackoverflow.com/questions/15668160/asynchronous-downloading-of-images-for-uitableview-with-gcd – wasim Aug 07 '13 at 10:33
  • See also: http://stackoverflow.com/questions/15088575/load-images-into-custom-table-view-cell-asynchronously?rq=1 – Amar Aug 07 '13 at 10:36
  • See also: http://stackoverflow.com/questions/8993820/async-images-download-in-a-uitableview-using-storyboard-ios5 – Amar Aug 07 '13 at 10:36

1 Answers1

3

You can use SDWebImage to handle this . simply download the SDKs and include files in your project and after that you can import "UIImageView+WebCache.h" in your .h file In the class you want to do your task , after that you can use following code in your cellForRowAtIndexPath delegate method as follows:

[ cell.imageView setImageWithURL:[NSURL URLWithString:@"your url string"] placeholderImage:[UIImage imageNamed:@"Placeholder.png"]];
Vivek Sehrawat
  • 6,560
  • 2
  • 26
  • 39
Charlie
  • 168
  • 2
  • 11