Re: Correct way to specify anchors with NSURL?
Re: Correct way to specify anchors with NSURL?
- Subject: Re: Correct way to specify anchors with NSURL?
- From: email@hidden
- Date: Thu, 21 Apr 2016 13:22:07 +0900
There are also URLEncoded... versions of those components that should help to URL encode properly per component type.
I'm not sure which SDK added that.
Sent from my iPhone
> On Apr 21, 2016, at 12:08 PM, Quincey Morris <email@hidden> wrote:
>
>> On Apr 20, 2016, at 19:59 , Graham Cox <email@hidden> wrote:
>>
>> What’s the correct way to append an anchor to a URL?
>
> I believe you need to use NSURLComponents, and specify the “fragment” property.
>
> _______________________________________________
>
> 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
_______________________________________________
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