Here is the applicable standard. Not sure exactly what they are complaining about. There's no specific mention that applications should not write to this directory, though there's some implication that perhaps this is to be used only for files that are put there at installation time.
Perhaps you've run afoul of the naming convention. If your application is not called "Law Documents", then that's likely the problem. Also, if you plan on coming out with additional applications, you probably should use your company name in the path. Something like:
~/Library/Application Support/My Company/My App/Law Documents
If these are files that your user creates, they almost certainly belong instead in:
~/Documents/My Company/My App/ or perhaps
~/Documents/My Company/My App/Law Documents
(The latter if your app creates some OTHER kind of documents as well).
As to the XCode 4 "how" (and the question you posed is really a meaningless question. There's no way to do this "in XCode 4". "In Objective-C", or "in C++", or "in Perl" makes sense... Xcode is just a project management and code editing tool...) how did you write them where you are writing them in the first place?
|