Icon assignment for Cocoa application - can I use SVG?

I was wondering how to use the image that I created as an icon. I put the file name in my plist file and named the icon "icon.png" and dragged it and it still doesn't work.

Also, is there a way to use the SVG file as an icon for a Cocoa application?

+4
source share
1 answer

You need to convert png (1024px, 512px, 256px, 128px, 32px and 16px) to icns using Icon Composer, which can be found in /Developer/Applications/Utilities/ . It works using drag and drop.

Then just import icns into the application and add its name (without .icns ) to Info.plist .

+5
source

All Articles