Skip to content

microenh/IconsetCreator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Screen Shot

IconsetCreator

This a quick and dirty utility to create an iconset to give a program an icon.

  1. Click on the image button and select the image
  2. Click on the destination button and navigate to the Assets.xcassets folder within the application's project. The default name is AppIcon which is the name Xcode uses by default for the program's icons. Since there is already an AppIcon folder present, the program will ask you confirm that you want to replace it. You can change the name from AppIcon if you need to add other icon assets.
  3. Select the desired devices. The default is Mac, iPad and iPhone
  4. Click create. The AppIcon asset will be updated.

The program creates a folder with images of the desired sizes and a .json file to describe them to Xcode. Xcode An iconset is just a folder with the images and a contents.json file describing their usage. AppIcon Folder

Notes

  1. The program will resize the image to a square area. If the source image is not square, the result will be centered and sized to fit all of the image, which will leave extra space on the edges of the shorter dimension.
  2. I have found that for non-rectangular images, a .png image with a transparent background will make a nice icon.
  3. The program attempts to make the icons with the desired size in pixels, so it has to account for the difference between points and pixels (which is an issue on high resolution screens).
  4. I haven't figured out how to add rounded corners to a square image.
  5. Alternatively to directlly saving the iconset to the programs Assets, you can save the folder somewhere else (such as the desktop) and drag the folder to Assets.

The sample image used for the program icon was downloaded from: pixabay

About

A utility to create icons for MacOs & iOS programs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages