how do I a set a ICNS to a file or folder
Ok, I made this ICNS file with icon composer, how do I assign it to a file or folder?
Thx, Matteo
Thx, Matteo
©h€ck øut µy stuƒƒ åt ragdollsoft.com
New game in development Rubber Ninjas - Mac Games Downloads
Depends on what you mean:
- if you just wanna assign it to any file/folder, just select the icon, do a copy. Then in the Finder, do a show info on a file/folder, in the window click its icon and paste.
- if however you wanna assign the icon to a file that your app has created you'll need to tell Xcode which file types your app can write/read. To do this, go into your target and double click on it so that a window appears with your target settings.
In the Properties tab, locate the Document Types tableview. Below that click on the + button and try to fill in as many colomns as you can. You don't need to populate every field, just the most common, and in your case you'll definitly want to check the Icon column
If you don't wanna use Xcode, you'll have to edit the Info.plist file, but I don't know the tags you need so..
Hope this helped!
- if you just wanna assign it to any file/folder, just select the icon, do a copy. Then in the Finder, do a show info on a file/folder, in the window click its icon and paste.
- if however you wanna assign the icon to a file that your app has created you'll need to tell Xcode which file types your app can write/read. To do this, go into your target and double click on it so that a window appears with your target settings.
In the Properties tab, locate the Document Types tableview. Below that click on the + button and try to fill in as many colomns as you can. You don't need to populate every field, just the most common, and in your case you'll definitly want to check the Icon column

If you don't wanna use Xcode, you'll have to edit the Info.plist file, but I don't know the tags you need so..
Hope this helped!
"When you dream, there are no rules..."
Taxxodium Wrote:If you don't wanna use Xcode, you'll have to edit the Info.plist file, but I don't know the tags you need
CFBundleIconFile. Set it to the name of your icns file, and put the icns in your bundle's Resoures directory.
- if you just wanna assign it to any file/folder, just select the icon, do a copy. Then in the Finder, do a show info on a file/folder, in the window click its icon and paste.
The problem is I only have the ICNS file, I dont really have the "icon". (I know how to copy the icon from one file/folder to another)
The problem is I only have the ICNS file, I dont really have the "icon". (I know how to copy the icon from one file/folder to another)
©h€ck øut µy stuƒƒ åt ragdollsoft.com
New game in development Rubber Ninjas - Mac Games Downloads
Najdorf Wrote:The problem is I only have the ICNS file, I dont really have the "icon".
Open the ICNS file in Preview and save it as a png, Preview will rant about the fact that PNG cannot save multiple files in one etc.. just say accept this. Then open the PNG in Preview and do a copy and voila
"When you dream, there are no rules..."
thanks but... it ignores the mask! bah...
©h€ck øut µy stuƒƒ åt ragdollsoft.com
New game in development Rubber Ninjas - Mac Games Downloads
You can do the same with Icon Composer, but instead of saving as a PNG, just click on an icon size and do a copy.
"When you dream, there are no rules..."
doesnt work :-(
©h€ck øut µy stuƒƒ åt ragdollsoft.com
New game in development Rubber Ninjas - Mac Games Downloads
oh well, dont worry, I find a nice app that does it for you:
http://www.mscape.com/products/iconographer.html
http://www.mscape.com/products/iconographer.html
©h€ck øut µy stuƒƒ åt ragdollsoft.com
New game in development Rubber Ninjas - Mac Games Downloads
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Xcode4: Resource not in Documents folder? | SparkyNZ | 3 | 5,576 |
Apr 9, 2011 03:29 PM Last Post: SparkyNZ |
|
| moving all folder project = error | imaumac | 2 | 2,640 |
Oct 13, 2008 08:46 AM Last Post: imaumac |
|
| Library/Preferences folder | someone | 5 | 5,249 |
May 17, 2007 10:31 AM Last Post: millercdusa |
|
| XCode tip: Generating folders in the Resource folder | Malarkey | 2 | 3,637 |
Nov 11, 2005 06:25 PM Last Post: Malarkey |
|
| Xcode 1.5 and SharedCaches folder | RedWolf | 0 | 1,867 |
Oct 2, 2005 12:49 AM Last Post: RedWolf |
|

