• 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: Open new document from within another document.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open new document from within another document.


  • Subject: Re: Open new document from within another document.
  • From: Quincey Morris <email@hidden>
  • Date: Mon, 11 Jan 2010 12:39:37 -0800

On Jan 11, 2010, at 12:22, Jeffrey Andrews wrote:

> I thought that the fileURLWithPath includes "file://" that I don't want.  Other examples show URLWithString, too.

AFAIK, you use 'fileURLWithPath' when you have a path string with no scheme, and URLWithString when you do have a scheme at the start of the string.

So likely what's happening is that in the cases that work, you're being given an 'openFile:' parameter that already has the "file:" scheme in it.


_______________________________________________

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: 
 >Open new document from within another document. (From: Jeffrey Andrews <email@hidden>)
 >Re: Open new document from within another document. (From: Jeffrey Andrews <email@hidden>)

  • Prev by Date: setTailIndent problems
  • Next by Date: Re: Question about garbage collection
  • Previous by thread: Re: Open new document from within another document.
  • Next by thread: iPhone: diagnose crashes
  • Index(es):
    • Date
    • Thread