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 protected]> wrote: > >> On Apr 20, 2016, at 19:59 , Graham Cox <[email protected]> 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 protected]) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/dangerwillrobinsondanger%40gmail.com > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
