I have really large number of images just in Images folder of my project (just @1x and @2x.png files). It's time to support @3x displays and I've decided to move to assets catalog
. Are there any tools/scripts to automate this?
Normally you already have an Asset Catalog because of your AppIcon. If not, choose File:New:File ... and then select iOS Resource:Asset Catalog.
The images you want to import should be named properly: image.png, [email protected]. If you target both devices: image~iphone.png, image@2x~iphone.png, image~ipad.png, image@2x~ipad.png.
Then select Asset Catalog and press +. Choose the folder with the images you want to import.
Like that it´s very simple to import large numbers of pictures and you can have the same folder structure in your Asset Catalog, as you had before.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With