Re: Open new document from within another document.
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