Alamofire / AlamofireImage

AlamofireImage is an image component library for Alamofire
MIT License
3.99k stars 523 forks source link

Resolves Issue 465 Incorrect associatedObject use generates Xcode warnings #466

Closed drewster99 closed 1 year ago

drewster99 commented 1 year ago

Issue Link :link:

Issue 465 --Incorrect associatedObject use generates Xcode warnings

Goals :soccer:

Clear Xcode 15 warnings

Implementation Details :construction:

Implementation based primarily on the work-around described in Swift Evolution.

Testing Details :mag:

Build and run with Xcode 15.

jshier commented 1 year ago

Thanks for the PR! I think a property wrapper is overkill here. The simplest solution is to simply change the type of the key to something more primitive like Bool. Changing the values from strings to true should allow the original code to work without issue.

jshier commented 1 year ago

This was resolved in #464. Thanks!