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

Method 'shared' was used as a property; add () to call it #77

Open
rlindsey2 opened this issue Dec 1, 2019 · 0 comments
Open

Method 'shared' was used as a property; add () to call it #77

rlindsey2 opened this issue Dec 1, 2019 · 0 comments

Comments

@rlindsey2
Copy link

Hi,
Firstly, thanks so much for creating this framework it's amazing.

When updating my podfile I'm getting the compiler error "SDWebImageIntegration Method 'shared' was used as a property; add () to call it". It's on line 66 of the SDWebImageIntegration file.

Current line:
guard let operation = SDWebImageManager.shared.loadImage(with: url, options: [], progress: progress, completed: completion) else { return }

Changing it to the following fixes the issue:
guard let operation = SDWebImageManager.shared().loadImage(with: url, options: [], progress: progress, completed: completion) else { return }

Not fully aware why this might be happening?

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

1 participant