If you’re developing for OSX and need a way to fetch out the complete filename of a resource in your .app package, here’s a bit of code that will help you do it.
Pass in the file name/resource name and it will spit back the complete absolute filename of the resource. This is useful if you’re attempting to load a file with a C library function.
Continue reading