PDA

View Full Version : What is the best place for the data files in OSX?


Soundbytes
02-24-2010, 05:14 AM
I am new to OSX and I don't have much idea about the recommended file locations. I checked out the file tree on my Mac and found many application specific files in /Library/Application Support/

I was just about to put my files into
/Library/Application Support/Soundbytes/PluginName/
But then read this:
http://developer.apple.com/mac/library/DOCUMENTATION/MacOSX/Conceptual/BPFileSystem/Articles/WhereToPutFiles.html

It basically says that all optional files should be put in /Library/Application Support/ while the files that are crucial for the functioning of the application need to be storend within the application bundle.

Does WDL/IPlug support access to bundled data? I think I can store my files in the resource branch. On the other hand I would like to have the data available as separate files on the Windows OS.

Andreas

cc_
02-24-2010, 05:23 AM
I'm no expert, but it should be pretty easy to access the stuff from the bundle - a bundle is just a directory after all.

If you want an example take a look at the function LoadImgFromResourceOSX() in IPlug/IGraphicsMac.mm