Skip to content

maxchuquimia/icon-resizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

icon-resizer

Automatically resizes icons for your Xcode project

How?

The Swift script takes the path to a large app artwork icon (typically 2048x2048) as its first argument. The second argument is the path to your AppIcon.appiconset in your Xcode project. Then, the large icon is simply resized to fit all the sizes selected in Xcode. It's like magic!

Why?

There are plenty of sites available that resize your icons for you, however I don't feel its appropriate to upload a client's artwork to a random site, nor do I want to have to manually drag every icon into xcode once the process is complete.

Usage

$ swift generate-icons.swift <path/to/largeIcon.png> <path/to/Assets.xcassets/AppIcon.appiconset>

About

Automatically resizes icons for your Xcode project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages