A cross-platform SwiftUI Image View for resizing vector files.
This solves an existing SwiftUI Image View issue where vector images have artifacts when significantly scaled.
Screen.Recording.2022-02-27.at.1.47.50.PM.mov
Links to related issues:
https://stackoverflow.com/questions/61164005/why-do-pdfs-resized-in-swiftui-getting-sharp-edges
To add ResizableVector to your Xcode project, use the Swift Package Manager
- File > Swift Packages > Add Package Dependency
- Add
https://github.com/Matt54/ResizableVector.git
Pull requests are welcome :)