Search code examples
cocoamacosnsimage

Where are the image files for the constants in NSImage located?


I'd like to get the image files for the constants definied in NSImage.h, like NSImageNameGoRightTemplate for example. I'd like to copy and edit some of them. Does anybody know where those images are located? I'm too stupid to find them on the drive...


Solution

  • As far as I know, they are not located in a single place, and their names may not reflect at all the name of the constants.

    They can be located in the 'Resources' folder of a framework, like

    /System/Library/Frameworks/AppKit.framework/Resources/
    

    or directly in an application, like

    /System/Library/CoreServices/Finder.app/Contents/Resources/
    

    You may also take a look at a theming app, like CandyBar. Maybe you'll be able to see some paths in the binary.