I have a UICollectionView
that shows images that are brought in by JSON
. It works now, but because I have around fifty images, it is very slow to scroll through the collection view. How can I improve the performance of this?
I am aware that using an asynchronous queue and/or NSCache
would perhaps improve the performance as the NSCache
would hold the information. I would like an implementation of this code, or a better way to do this, because I am not sure how to what is the best way to do this and how to implement that way.
Preferably, I want code that implements a good way to make this more efficient.