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

Fixed old version compiler does not support automatic self capture in Xcode 14.2 and Swift 5.7.2 #340

Merged
merged 1 commit into from
Nov 6, 2024

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