Hi, I'd like to parse the contents of an SVG file as a string, modify it, then parse the modified string as SVG and place it in an artboard. Can MSSVGImporter be used to do this?
I've seen some examples of how to import SVG from a file using MSSVGImporter (most look like this one https://gist.github.com/jodyheavener/186bebf0855d680a47f2). These examples pull the SVG directly from a fileURL. I see one solution in which one could import an SVG file as a string, modify it, save it in a temp directory, then import as SVG from the temp file's fileURL, afterward deleting the temp file. This is a workable solution, but it would be preferable to forego all those steps and just parse the string.