• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
My newbie question..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: My newbie question..
      • From: John Anderson <email@hidden>
    • Re: My newbie question..
      • From: Nathan Day <email@hidden>
References: 
 >Re: [Q] large flat files usage (From: Georg Tuparev <email@hidden>)

  • Prev by Date: Re: Outputting an unsigned long long
  • Next by Date: Re: cocoa-dev digest, Vol 2 #816 - 15 msgs
  • Previous by thread: Re: [Q] large flat files usage
  • Next by thread: Re: My newbie question..
  • Index(es):
    • Date
    • Thread