Re: URI de/encoding
Re: URI de/encoding
- Subject: Re: URI de/encoding
- From: gnat <email@hidden>
- Date: Thu, 18 May 2006 14:46:09 -0400
On May 18, 2006, at 13:18, Chris Parker wrote:
NSURL * mp3URL = [NSURL URLWithString:@"file://localhost/Users/gnat/
Music/iTunes/iTunes Music/Compilations/Vespertine/01 Hidden%
20Place.mp3"];
if ([mp3URL isFileURL]) {
NSString * mp3Path = [mp3URL path];
// do the copying here with mp3Path
}
-[NSURL path] will take care of stripping the "file://localhost/"
and percent-escapes for you.
Chris,
This did indeed take care of it. Thank a lot for the tip.
Thanks,
-dave
_______________________________________________
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