Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new method to ImageDownloaderDelegate - didFinishDownloadingImageForURL:with:error #901

Merged
merged 3 commits into from
May 9, 2018

Conversation

tomaskraina
Copy link
Contributor

This allows using network activity indicator correctly. Fixes #605

I have been using this my fork for some time and thought it would be good idea to merge it back to the official repo.

Maybe the naming could be better. Any ideas?

…ishDownloadingImageForURL:with:)` that gets called when the `ImageDownloader` object completes a downloading request with success or failure.
@onevcat
Copy link
Owner

onevcat commented Apr 19, 2018

@tomaskraina Thanks for it! Happened to be quite busy recently but this addition looks fine to me at the first glance. I'd take a detail look at it later and get you back then!

@tomaskraina
Copy link
Contributor Author

Thanks!

@onevcat onevcat merged commit 2386862 into onevcat:master May 9, 2018
@@ -95,3 +95,15 @@ extension ViewController: UICollectionViewDataSourcePrefetching {
ImagePrefetcher(urls: urls).start()
}
}


// Inspired by: https://fdp.io/blog/2018/03/22/supporting-compactmap-in-swift-4/
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋 It's funny to see my blog post on a library I use 😄

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

XD

petarlazarov pushed a commit to dowjones-mobile/Kingfisher that referenced this pull request Oct 6, 2021
…-finish

Add new method to ImageDownloaderDelegate - didFinishDownloadingImageForURL:with:error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants