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 ability to use the prefetcher with a custom image manager #1118

Closed
tfonfara opened this issue Apr 10, 2015 · 4 comments
Closed

Add ability to use the prefetcher with a custom image manager #1118

tfonfara opened this issue Apr 10, 2015 · 4 comments

Comments

@tfonfara
Copy link

Hi,

it would be great if you could change the SDWebImagePrefetcher init method in a way, that we could use the prefetcher with a custom image manager (compare with #1041)

- (id)init {
    if ((self = [super init])) {
        _manager = [self createImageManager];
       ...
    }
    return self;
}

- (SDWebImageManager *)createImageManager {
    return [SDWebImageManager new];
}

Thank you,
Tobias

@mythodeia
Copy link
Contributor

@tfonfara can this be of any assistance

@tfonfara
Copy link
Author

tfonfara commented May 8, 2015

@mythodeia this is exactly what I'm looking for, but unfortunately it isn't merged yet

@mythodeia
Copy link
Contributor

until its merged you can copy paste the code you need
luckily its not that big of a change

@tfonfara
Copy link
Author

Thanks, I've already included the snippet from my 1st post :)
I'll close the issue.

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

No branches or pull requests

2 participants