Convert SVG path data to a Swift 3 UIBezierPath
As an iOS developer, you have to support at least three different pixel densities. Why waste your time managing a million image assets for different resolutions and states?
swiftvg is a little tool written in javascript to help
you convert your vector SVG images into
UIBezierPath shapes. Paste the string from the
d attribute and vóila, your
UIBezierPath code is generated for you.
The code is open source (MIT) on Github. Check it out, maybe.