A Swift library for parsing and drawing SVG images to CoreGraphics contexts.
import SwiftDraw
let image = UIImage(svgNamed: "sample.svg")
import SwiftDraw
let image = NSImage(svgNamed: "sample.svg")
Download the latest command line tool here.
$ swiftdraw sample.svg --format pdf --size 48x48