My application is a kind of picture gallery. when ever user clicks on icon in the gallery, need to display the images( Landscape 2 images , portrait 1 image). The pictures may be more than 100. I usually take raw file and decode into UIImage format. If user wants to see another image it's taking some time (delay) to display the image because of decoding. So i want save some of the images into cache(NSArray ) in a separate thread(GCD) to resolve this problem.
In array i may store 5 to 10 images. Need to update every time when ever user swipes.
Kindly give the suggestions.
Thanks in advance.