iPhone storing large amounts of images

I have a large amount of images that correspond to records in a sqlite db. where should I store them? I have 3 versions of the same image – large, med, thumb sizes. (I don’t want to store them in the db table, but reference them instead from each record)

all the images have the same name – each small, med and large image files would all be called “1.jpg” for record 1 in the sqlite table etc… this is mainly because I’m using an image batch resizing program that retains the same file name and creates a new folder.

  • How to get iPhone crash log from customers?
  • this class is not key value coding-compliant for the key authView
  • How to know in which way UITableView is being scrolled
  • How do I add a gradient to the text of a UILabel, but not the background?
  • Not fetch Google user when handle sign in with another Google app using GIDSignIn
  • Run a Swift 2.0 app forever in background to update location to server
  • thanks for any help.

    Solutions Collect From Internet About “iPhone storing large amounts of images”

    For my cached images, I stored them in TMP folder, you can access using NSTemporaryDirectory.

    I don’t know if it is good for your cases or if it is good in general but it works quite well