I have a
If you store all the images in your
Assets.xcassets, when you declare the cell (
cellForItemAtIndexPath) and assign the data to it, you can just do something like:
cell.imageView.image = UIImage(named: YOUR_LABEL_VALUE)
If you store the images in .png format, with the same name of the labels you are gonna use, that can work.
For examples your labels are:
So your images in your Assets.xcassets: