Closed ospfranco closed 4 years ago
Here si one more thing, I manually added a unwrapping operator, but when the download finishes now I'm getting another crash because the delegate has been deallocated, I'm not a swift expert, don't know if this helps or not
I'm sorry, my bad, I have swiftlint autocorrect turned on and it modified the source file, causing this error, de-activating it makes everything work, thanks a lot for the package!
Summary and/or background I installed the library via cocoa pods, when trying to run the project I got a compilation error on DownloadService.swift
OS and what device you are using
Version of URLImage library The version of the library where the bug happens.
What you expected would happen No compilation error
What actually happens On
DownloadService.swift
line 200:private weak var urlSessionDelegate: URLSessionDelegateWrapper
I get a compiler error:'weak' variable should have optional type 'URLSessionDelegateWrapper?'
Additional information: