ReadMe.md 790 Bytes
Newer Older
Egor Badaev's avatar
Egor Badaev committed
1
2
3
How to generate iconset
=======================

4
1. Simply execute script:
Egor Badaev's avatar
Egor Badaev committed
5

6
		./generate_iconset.sh /path/to/project/folder.xcassets/AppIcon.iconset /path/to/sourceIcon.png
Egor Badaev's avatar
Egor Badaev committed
7

8
The script requires two parameters:
Egor Badaev's avatar
Egor Badaev committed
9

10
11
* path to AppIcon.iconset folder (including the folder itself) - if omitted, the icons are left in the iconset folder
* path to sourceIcon.png (optional; if omitted, the script takes sourceIcon.png from the script folder)
Egor Badaev's avatar
Egor Badaev committed
12

13
14
15
2. Done! Icons are copied to your project’s **images.xcassets** folder.
3. If upgrading from previous versions of icon generators, in *xCode*, navigate to **images.xcassets** folder in Project Navigator and move icon files to corresponding positions.
4. (Optional) You can omit entering path/to/project if you prefer to copy the resulting icons manually