I want to setImage with UIImage directly and not from any Source, Resource. I already have my image and want to set it with caching to my imageView.
let myImage = UIImage
kingfisherView.kf.setImage(with: myImage)
i want this to be done like i set image to UIImageView i.e
UIImageView.image = myImage
But with caching
i am not downloading image from a source i am generating them by myself (Latex). and caching them with
let cache = ImageCache.default
cache.store(renderedLaTeX ?? UIImage(), forKey: "image\(indexPath.row)")
I just want to set that cached image to my imageView.
UIImage.image = cachedImage
is not working and is loading image again and again as i scroll up and down in CollectionViewCell
Or any other way of doing this so that i don't have load imageView with a image again and again. My ImageView
is inside UICollectionViewCell