Re: Where do I put the file?
Re: Where do I put the file?
- Subject: Re: Where do I put the file?
- From: "Ryan Zachary Hale" <email@hidden>
- Date: Mon, 24 Mar 2003 10:34:07 -0600 (CST)
If the file you are loading is a plist that also stores your preferences,
keep it in ~/Library/Preferences/. Otherwise, if it is a seperate plist
that does NOT store prefs, or a nother file type, I ususally keep in
~/Library/Application Support/(appname)/ or ~/Documents/(appname) Files/.
Again, this is just my preference and what I have done in the past. I
think that it falls alongside what Apple and Omni have done with thier
Cocoa apps.
HTH,
Ryan
<quote who="Brian Ganninger">
>
I recommend creating your own folder in ~/Library/Application
>
Support/(your name here) or you can just deposit the file(s) in the
>
~/Library/Preferences/ folder or your own subfolder there.
>
>
- Brian Ganninger
>
>
On 3/24/03 10:02 AM, "Jon Hull" <email@hidden> wrote:
>
>
> I am writing a little one-window app (basically a specialized to-do
>
> list), and since it only has one file, I would like to avoid bothering
>
> the user with the file handling stuff if at all possible. A similar
>
> model is used by iTunes and iPhoto. They take care of all the file
>
> stuff behind the scenes. iTunes keeps it's library in the music
>
> folder, and iPhoto keeps it's stuff in the pictures folder. But a
>
> to-do list has nothing to do with either, so I can't put my file in
>
> either of those places.
>
>
>
> So, where do I put the file?
>
>
>
> My first thought was documents, but that is not right either, since
>
> the documents folder should contain only files which the user made
>
> themselves. That leaves the library... but where in the library?
>
>
>
> Please help... I am very confused!
>
>
>
> Thanks,
>
> Jon
>
>
>
> P.S. Since Apple is (correctly) encouraging this type of interaction
>
> maybe they will add (or have added?) a special folder somewhere to
>
> hold these types of files.
>
> _______________________________________________
>
> cocoa-dev mailing list | email@hidden
>
> Help/Unsubscribe/Archives:
>
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
> Do not post admin requests to the list. They will be ignored.
>
>
>
----
>
" An Apple a day keeps the PC away."
>
" Ever notice that Apples fall from the sky while computers get thrown
>
out Windows?"
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev Do not post admin
>
requests to the list. They will be ignored.
--
Ryan Zachary Hale
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.