Re: Using an anchor in NSURL file url
Re: Using an anchor in NSURL file url
- Subject: Re: Using an anchor in NSURL file url
- From: Jens Alfke <email@hidden>
- Date: Fri, 22 Jan 2016 09:28:04 -0800
> On Jan 21, 2016, at 6:23 PM, Jeff Evans <email@hidden> wrote:
>
> //The full url appears to have the anchor prepended, plus a couple of dashes:
>
> #page3-- [pathtobook is here]/book/chapter1.html
The .description property of a URL assembled with -relativeToURL is weird looking like that, but it’s not the actual URL. To see the actual URL, use the .absoluteString property instead. Or convert the URL to an absolute URL by getting its .absoluteURL property.
—Jens
_______________________________________________
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