[Mono-osx] Get a user's home directory
Florian Heiber
flo at rootof.net
Thu Mar 31 12:09:21 EDT 2011
Hi guys,
I was wondering what's the proper way to get a user's home directory path? I was hoping I could do something like this in Objective-C:
NSString *path = [@"~" stringByExpandingTildeInPath];
There seems to be neither this method nor NSHomeDirectory(). So what's the right approach here?
Thanks!
Cheers
–f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110331/03b51612/attachment.html
More information about the Mono-osx
mailing list