Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

klaxamazoo

macrumors 6502
Original poster
Sep 8, 2006
438
0
Current Status:
I am finishing up my first application and I have two custom file types:
1) .jdi is the input/output file for a set of strings that scale my lithography patterns

2) .jdisf is an input/output file for a set of scale factors that I scale the original .jdi files with

The .icns files were imported into the Resources group in Xcode with "copy files" to the directory selected. I attached an image of the "Properties" section of my Target info.


Problem:
I would like to have custom icons for each filetype, but I can only get one at a time to work. i.e. I can set the .jdi file icon but the .jdisf doesn't change or visa versa


Question:
- is it possible to assign different icons to different custom filetypes?
- if so, how?

Thanks in advance.
 

Attachments

  • Screen shot 2011-01-05 at 7.00.03 PM.png
    Screen shot 2011-01-05 at 7.00.03 PM.png
    59.1 KB · Views: 168
Never mind. I just realized that I had a "." in the extension of .jdisf so it wasn't working.

Finally, all done with my first application. It took me a long time to learn xcode and write it, longer than it would have to just use excel the few dozen times I will need to scale .jdi files; but at least I've learned something useful.

Woohoo!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.