My app performs searches of some items and downloads an image per each result it gets. It shows the results on a tableView, a cell per result, and each cell shows the corresponding image.
I'd like to cache the images to avoid being downloading the same if a search was already done with the same params. I've been reading about NSCache
as a good option for this, for example in this article, but I also read here that NSCache
is not persisted between app launches. I couldn't find that information in Apple's documentation though, could somebody help me to find it?
If I'd like to persist the downloaded images even between app launches and I'm not going to be able to do that with NSCache
, how should I then manage that?