Contents

richardpiazza/swiftsvg

A Swift SVG parsing library

Features

SVG (Scalable Vector Graphics) is an XML-based markup language for describing two-dimensional vector graphics. The text-based files contain a series of shapes and paths forming images. SwiftSVG parses & builds SVG files so the data can be interpreted and used. (For instance: VectorPlus)

An SVG is most commonly initialized using an existing file (URL) or Data.

let url: URL
let svg1 = try SVG.make(from: url)

let data: Data
let svg2 = try SVG.make(with: data)

Contributions

Checkout

License

This project is released under an MIT License.

Package Metadata

Repository: richardpiazza/swiftsvg

Default branch: main

README: README.md