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

Allows user to override default SDWebImageDownloaderOperation #876

Merged
merged 1 commit into from
Oct 31, 2014

Conversation

matux
Copy link
Contributor

@matux matux commented Aug 19, 2014

Sets a subclass of SDWebImageDownloaderOperation as the default NSOperation to be used each time SDWebImage constructs a request operation to download an image.

On setOperationClass:, pass the subclass of SDWebImageDownloaderOperation to set as the default NSOperation class. Passing nil will revert to SDWebImageDownloaderOperation.

SDWebImageDownloader *sself = wself;
if (!sself) return;
[sself removeCallbacksForURL:url];
}];
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Main change in this chunk is on line 133, rest is indentation adjustment.

@bpoplauschi bpoplauschi added this to the 4.0.0 milestone Oct 31, 2014
bpoplauschi added a commit that referenced this pull request Oct 31, 2014
Allows user to override default SDWebImageDownloaderOperation
@bpoplauschi bpoplauschi merged commit 125515d into SDWebImage:master Oct 31, 2014
@bpoplauschi bpoplauschi modified the milestones: 3.7.2, 4.0.0 Mar 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants