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 protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
