• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using an anchor in NSURL file url
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Using an anchor in NSURL file url (From: Jeff Evans <email@hidden>)
 >Re: Using an anchor in NSURL file url (From: Quincey Morris <email@hidden>)
 >Re: Using an anchor in NSURL file url (From: Jeff Evans <email@hidden>)

  • Prev by Date: Re: Problem Archiving/Un-archiving Custom Objects
  • Next by Date: Re: How to record screen in iOS
  • Previous by thread: Re: Using an anchor in NSURL file url
  • Next by thread: Re: Using an anchor in NSURL file url
  • Index(es):
    • Date
    • Thread