How to parse Text element in SVG swift?

278 Views Asked by At

I am using PocketSVG, SwiftSVG and SVGKit libraries to parse SVG elements and convert into CALayer. But I don't know how to parse Text element and its attributes from SVG in swift.

I want to get My Text string from below SVG text element. How can I parse it?

<text x="20" y="35" class="small">My Text</text>
0

There are 0 best solutions below