i edited the question to be more specific: i need to accomplish a UICollectionView with multiple reusable collection cells each having a UIImage loaded from a path using SDWebImage. i want all the images to load and THEN show all of them inside the collection view at once. my problem is: when i use sd_setImageWithURL inside the function:
func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -> UICollectionViewCell
the images do not load. im trying to reload the collection's data everywhere - but it doesn't load them.
what is the proper way to SDWebImage to load the images to the collection view and make them appear?
Thank you in advance to all those who take the time to read and help :)
Read this:
Main idea of loading images in tableview:
*usual event types: