The simple SVG parser for iOS written in swift.
- convert SVG to CGPath
- written in swift
- use d attribute
- supporting multiple path
let layer = CAShapeLayer()
layer.path = SVGParser.buildPathFromSVG("sample")
self.view.layer.addSublayer(layer)
The SVG file should have "d" attributes.