I am using the UIImageView + AFNetworking
category to download and display images from an array of URLs and populate a table view.
Now I find that the other images are delayed because only the current cell's image will be loaded. I need to keep busy by fetching other images as well.
My idea would be to write a for loop and start downloading and caching with AFNetworking, say, 10 other requests starting from current indexPath
.
Or should I just do the usual dispatch_async
in the completion block and start fetching the mentioned 20 other images?
Any better ideas?