Re: NSURL urlWithString return nil
Re: NSURL urlWithString return nil
- Subject: Re: NSURL urlWithString return nil
- From: Wayne Packard <email@hidden>
- Date: Mon, 12 May 2008 15:24:09 -0700
On May 12, 2008, at 3:16 PM, Dex Morgan wrote:
Hello,
I've tried to create an NSURL with this URL:
http://forum.scmf.it/index.php?showtopic449&st
However it returns nil.
So I've tried to open it via Safari and the URL become
http://forum.scmf.it/index.php?showtopic449&st
?
Is there any way to translate these url into the correct way?
You might want to take a look at these methods in the NSString docs:
– stringByAddingPercentEscapesUsingEncoding:
– stringByReplacingPercentEscapesUsingEncoding:
wp
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden