Skip to content

Conversation

softmastx
Copy link

Getting an issue : Reference to property 'transaction' in closure requires explicit use of 'self' to make capture semantics explicit in ImageManager.

It is fixed by replacing withTransaction(transaction) with withTransaction(self.transaction) in ImageManager.swift at line 110

@abdullah888
Copy link

How can I get it?

@softmastx
Copy link
Author

How can I get it?

Mine right clicked on Package Dependencies located on the Xcode left panel and chose "Show in Finder" then edited the file ImageManager.swift in the Classes folder.

Screenshot 2567-11-05 at 17 24 21 Screenshot 2567-11-05 at 17 24 36

@abdullah888
Copy link

Thank you for your help in solving the problem

@dreampiggy dreampiggy merged commit 6c27d02 into SDWebImage:master Nov 6, 2024
5 of 6 checks passed
@dreampiggy
Copy link
Collaborator

Released new patch version

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

Successfully merging this pull request may close these issues.

3 participants