I'v checked all Google results for this term, and I havn't found a clear answer. There is the opposite example, there are drawing SVG examples, and there are all sorts of classes for objective-c.
Is there a straight forward way, to turn a UIBezierPath into an SVG file in Swift ?
The closest I got is this, which I have no clue how to perform step 2.