Re: get complete path with NSString?
Re: get complete path with NSString?
- Subject: Re: get complete path with NSString?
- From: "John C. Randolph" <email@hidden>
- Date: Sun, 20 Feb 2005 02:50:51 -0800
On Feb 17, 2005, at 7:52 AM, Luc Vandal wrote:
Hi,
is there a way to convert path like ~/some folder to Users/Me/some
folder?
- (NSString *)stringByExpandingTildeInPath
Returns a new string made by expanding the initial component of the
receiver, if it begins with “~” or “~user”, to its full path value.
Returns a new string matching the receiver if the receiver’s initial
component can’t be expanded.
See Also: – stringByAbbreviatingWithTildeInPath
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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