This script creates .imageset
with 1x 2x 3x images needed for .xcassets
in Xcode.
- Download the project
- Find the
script_1x2x3x.sh
file inside the directory - Open terminal
- Type
sudo chmod 755 <path of script_1x2x3x.sh>
in terminal - Type your mac password
- In terminal change directory
cd
to your images directory with 3x images - Type
<path of script_1x2x3x.sh>
in the terminal..imageset
files will be created automatically - Drag & drop
.imageset
files in the Xcode.xcassets
directory
From now on, you only need step 6, 7 and 8. Enjoy 🤘
Check my other open source projects at github.com/rishi420