i\'m having an issue using SDWebImage to load images to a UIImageView inside a custom UITableViewCell. This is my code at the UITableView delegate:
static NS
Example of answer above. Swift 3
func collectionView(_ collectionView: UICollectionView, didEndDisplaying cell: UICollectionViewCell, forItemAt indexPath: IndexPath) { (cell as! UITableViewCell).imageView.image = nil (cell as! UITableViewCell).imageView.sd_cancelCurrentImageLoad() }