thorvg / thorvg.swift

ThorVG for Swift (Apple System)
MIT License
1 stars 0 forks source link

Migrate Swift code from thorvg-swift #2

Open andyf-canva opened 2 weeks ago

andyf-canva commented 2 weeks ago

As mentioned in the GitHub issue #1, this PR includes all of the Swift code that wraps the ThorVG API from thorvg-swift, including the Swift Package manifest containing details on how to build the package. The thorvg core has been added as a submodule to the repo.

Note: to successfully build the Swift package we currently require changes on the thorvg repo. I have opened those in a PR here from my own fork of the thorvg repo.

We will need to discuss these changes as they are specific to just the Swift Package build and we may need to find an alternate solution.