This adopts Swift Package Manager to make it really easy to install MetalNanoVG in an Xcode project. From the README:
In Xcode, Select File -> Swift Packages -> Add Package Depedency
Enter https://github.com/ollix/MetalNanoVG for the URL.
That's it.
(You'll need to add a git tag with a version number according to semantic versioning (say, 1.0.0) to the MetalNanoVG repo in order for Xcode to pick up the version.)
Manual installation of MetalNanoVG is still possible. Nanovg is also included in the swift package. More info about the Swift Package Manager is here.
This adopts Swift Package Manager to make it really easy to install MetalNanoVG in an Xcode project. From the README:
https://github.com/ollix/MetalNanoVG
for the URL.That's it.
(You'll need to add a git tag with a version number according to semantic versioning (say, 1.0.0) to the MetalNanoVG repo in order for Xcode to pick up the version.)
Manual installation of MetalNanoVG is still possible. Nanovg is also included in the swift package. More info about the Swift Package Manager is here.
🎉