Update Kingfisher #56
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi!
The current Kingfisher dependency is quite old by targeting version 7 and hinders anyone using Tjek from using version 8.
Version 8 comes with significant improvements to SwiftUI and Swift 6.
In this PR I've applied the minimal changes required to upgrade Kingfisher. This however includes bumping Tjek to a minimum iOS version of 13 up from 12.
Looking at the which devices that are unable to upgrade from iOS 12 I focused on iPhones where the iPhone 6 and older are unable to upgrade beyond iOS 12. This means that even the iPhone 6s is able to upgrade from 12 and all the way to 15. Of course I don't know the full scale of how many are running iOS 12 and who is still supporting iOS 12 but I think it's fair to suggest bumping this minimum requirement and maybe do so with a bump in Tjek's major version number, as to not accidentally break dependency resolutions that automatically pick this up.
While checking the library for any other warnings and errors I did notice that some things are deprecated in iOS 13 and warnings that will become an error in Swift 6 language mode. I left these things untouched since they are not part of the scope of this change.