Hacker News new | ask | show | jobs
by O-stevns 1571 days ago
In many cases yes, but svg support has been available in xcode since ver. 12 and before that pdf had been available. As a consultant I haven't worked on a project yet where vector assets has been chosen over bitmap
1 comments

But does Xcode convert PDF and SVG to various PNG assets?

https://bjango.com/articles/svgassetcatalogs/

It's my understanding, as a designer, that it was auto-generating 2x and 3x PNGs as from your vector assets, and that's what actually got bundled in the final app—and that PNG compression was not good compared to what I could get by going through ImageOptim.

I would be quite happy to be wrong about that. It would save me a lot of time.