I am looking for where I should save my app stuff, and after a quick search I found this:
Cocoa equivalent of .NET's Environment.SpecialFolder for saving preferences/settings?
and this:
https://developer.apple.com/library/mac/#documentation/FileManagement/Conceptual/FileSystemProgrammingGUide/AccessingFilesandDirectories/AccessingFilesandDirectories.html#//apple_ref/doc/uid/TP40010672-CH3-SW3
Then I look at my Application Support Folder and noticed that almost every app uses the AppName and not the BundleID as apple suggests in its documentation.
I want to make sure I choose the right one, because I heard that some apps got rejected for writing in a ~/Library/Application Support/ subdirectory with different name than the app’s name.
- IN SHORT:
Which naming convention you think I should use?
Does it matter when they are reviewing apps? Both are OK?
Thank you
Well, answering my own question, just to not leave as is…
I just called NSSearchPathForDirectoriesInDomains( NSApplicationSupportDirectory, NSUserDomainMask, YES ); to get the application support folder and appended the App name.
I hardly believe something like that will be a reason for a rejection, as NSApplicationSupportDirectory appears to return te correct folder even when the app is sandboxed.