My newbie question..
My newbie question..
- Subject: My newbie question..
- From: email@hidden
- Date: Fri, 21 Jun 2002 10:03:06 -0500
Ok .. Like many applications I want to look for (and store) various
"application documents"
under the user's home directory "Documents" folder .. under a directory
I create (if it is not there)
for the application..
I read the FileMangler stuff and know how to create the folder and look
for the stuff I want..
What I CAN'T seem to find is an easy / reliable way to find the current
user's home directory path..
I was hoping NSUser had something but I can't see it.. I don't want to
rely on /Users/name/Documents/xxx
since it does NOT have to be there (Think OS X Server.. )
So.. what's the "official" way to find the user's home directory??
Also.. is there a good example of using NSFileWrapper stuff within a doc
application specifically
a combination of NSDirectoryWrapper who itself has multiple wrappers??
Seems sort of complex
how to tie that into a Cocoa Document structure using NSDocument /
NSWindowController, etc.
TIA
-SJM
_______________________________________________
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.