[Mono-osx] Get a user's home directory
flo at rootof.net
Thu Mar 31 12:09:21 EDT 2011
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-osx