UICollectionViewListCell is configured like so:
var configuration = cell.defaultContentConfiguration()
configuration.text = "Foo"
configuration.image = UIImage(named: "foo")
configuration.imageProperties.maximumSize = CGSize(width: 40, height: 40)
cell.contentConfiguration = configuration
How can I use Nuke to load the image from a URL? With UITableViewCell, we can do:
Nuke.loadImage(with: url, into: cell.imageView)
But UICollectionViewListCell does not have an imageView.
I did with kingfisher:
--