• 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
Easy question about URLs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Easy question about URLs


  • Subject: Easy question about URLs
  • From: James Bucanek <email@hidden>
  • Date: Fri, 9 Mar 2007 11:51:12 -0700

This should be an easy question, so before I invest a lot of time and effort in my solution I thought I'd ask here first.

What I'd like to do is have my application open a document at a particular location. I'd like to do this by pasing the application an url to open in the form 'file:///path/to/document.doc?at=location/in/document'.

Will the parameter portion of the URL survive the trip through [NSWorkspace openURL:...] through [NSDocumentController documentForURL:]? What's the best way to encode, add, and ultimately decode the parameter portion of the URL. I don't see any tools in NSURL for manipulating the parameter portion of an URL.

Thanks

P.S. I would have checked the archives first, but the list search engine seems to be overburdened this morning.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

  • Follow-Ups:
    • Re: Easy question about URLs
      • From: James Bucanek <email@hidden>
    • Re: Easy question about URLs
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Distributed object and run loops I didn't start
  • Next by Date: Re: a HUGE Core Data bug
  • Previous by thread: Distributed object and run loops I didn't start
  • Next by thread: Re: Easy question about URLs
  • Index(es):
    • Date
    • Thread