Re: $HOME not set?
Re: $HOME not set?
- Subject: Re: $HOME not set?
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 30 Mar 2006 21:31:16 -0700
On Mar 30, 2006, at 9:08 PM, Paul J. Lucas wrote:
I remember reading somewhere that there's a Cocoa method
someplace to get the user's home directory, but I can't seem to
find it. Any pointer?
Either NSHomeDirectory() or -[NSString stringByExpandingTildeInPath]
ought to do. If you're looking for a specific folder, though, then
you might want to try using FSFindFolder() instead.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden