Hello,
If I'm reading Apple file system programming guide (see
https://developer.apple.com/library/content/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/MacOSXDirectories/MacOSXDirectories.html)
correctly, wxFileConfig shouldn't create its files in ~/Library/Preferences,
which should only be written to by NSUserDefaults, but rather in
~/Library/Application Support/appname.
Is this really the right way to interpret it? And, if it is, is it worth
breaking the existing applications storing their configuration in
~/Library/Preferences by moving the config files under Application Support?
Or, alternatively, is it worth complicating wxFileConfig code to look under
Preferences first, but use Application Support for creating new files?
E.g. does Apple check that the application does not write to Preferences
directly for the applications distributed via App Store? If so, this would
be a sufficient impetus to do something about it. OTOH if it's alright to
write there, perhaps our effort would be better spent on providing a more
native (i.e. NSUserDefaults-based) wxConfig implementation and changing the
file format, rather than changing its location...
Thanks in advance for any information,
VZ