Muliple, custom filetype icons

Discussion in 'Mac Programming' started by klaxamazoo, Jan 5, 2011.

  1. klaxamazoo macrumors 6502

    Sep 8, 2006
    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.

    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

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

    Thanks in advance.

    Attached Files:

  2. klaxamazoo thread starter macrumors 6502

    Sep 8, 2006
    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.

  3. jiminaus macrumors 65816


    Dec 16, 2010

Share This Page