[ad_1]
I’m upgrading a legacy iOS codebase from Xcode 13 to Xcode 14. The ripple impact of dependency administration in third get together libraries (utilizing Cocoapods) resulted in having to improve the Nuke picture obtain and caching library (https://github.com/kean/Nuke) from 8 to 9.
This has resulted in 5 locations within the codebase that made the decision:
ImagePipeline.shared.configuration.imageCache?.removeResponse(for: req)
to now not compile, evidently removeResponse(for:) now not exists.
I’ve changed the code (for now), with:
ImagePipeline.shared.configuration.imageCache?[req] = nil
It now compiles, however I have been unable to find out from Nuke documentation if my ‘repair’ is an accurate one.
Thanks prematurely for any mild anybody can shed.
[ad_2]
