ollix / MetalNanoVG

The Metal port of NanoVG.
MIT License
211 stars 40 forks source link

Adopt Swift Package Manager for super easy installation :) #22

Open wtholliday opened 4 years ago

wtholliday commented 4 years ago

This adopts Swift Package Manager to make it really easy to install MetalNanoVG in an Xcode project. From the README:

  1. In Xcode, Select File -> Swift Packages -> Add Package Depedency
  2. 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.

🎉

wtholliday commented 4 years ago

@olliwang Any thoughts on this? 😀