4 ms·
For what it’s worth, Xcode 6 allows you to provide a single PDF file per asset. Xcode will then render the PDF into bitmaps at all required sizes _at build time
by elo 12y ago
For what it’s worth, Xcode 6 allows you to provide a single PDF file per asset. Xcode will then render the PDF into bitmaps at all required sizes _at build time_ and include the rendered images in your app bundle. Of course, you will probably have to make a new build when new devices come out.
It’s not resolution independence, but it has the potential to make asset production much less painful. I don’t know if this approach also work for app icons or only for things like button and toolbar images.
- grey-area 12y agoThanks, I didn't know that, I'll be exploring that feature, it'd be nice if they did that for icons - using a script to generate 20 different sizes is getting old. Unfortunately it looks like it is only supported for images at present. Of course it'd be better if this was done at run time on the device, and bitmap representations cached as required (eventually they probably wouldn't be, even if initially they are).