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

Feature - Custom Image Downloader for UIImageView #31

Merged
merged 1 commit into from
Oct 13, 2015

Conversation

cnoon
Copy link
Member

@cnoon cnoon commented Oct 10, 2015

This PR adds an af_imageDownloader property to the UIImageView extension allowing users to use a custom ImageDownloader for image views that need to be handled differently. A good example of this would be images behind different basic auth credentials than the rest of your app.

This is an alternate solution to the ImageDownloaderDelegate approach proposed in PR #26. Overall I think this is a much better way to approach the problem.

@cnoon cnoon self-assigned this Oct 10, 2015
@cnoon cnoon added this to the 2.0.0 milestone Oct 10, 2015
@cnoon
Copy link
Member Author

cnoon commented Oct 10, 2015

cc @kcharwood and @jshier

@kcharwood
Copy link
Contributor

👍

@cnoon
Copy link
Member Author

cnoon commented Oct 13, 2015

Thanks for reviewing @kcharwood!

cnoon added a commit that referenced this pull request Oct 13, 2015
…nloader

Feature - Custom Image Downloader for UIImageView
@cnoon cnoon merged commit aed5d86 into master Oct 13, 2015
@cnoon cnoon deleted the feature/image_view_instance_downloader branch October 13, 2015 14:19
@cnoon cnoon mentioned this pull request Oct 14, 2015
@tapz
Copy link
Contributor

tapz commented Oct 18, 2016

With Swift 3 ImageDownloader should be open. Otherwise it's impossible to subclass it when using AFI as a pod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants