Re: Quicklook not working for network volume items
Re: Quicklook not working for network volume items
- Subject: Re: Quicklook not working for network volume items
- From: Kyle Sluder <email@hidden>
- Date: Fri, 07 Oct 2011 13:16:07 -0700
On Fri, Oct 7, 2011 at 1:06 PM, Chris Paveglio <email@hidden> wrote:
> Thanks.
> One thing I found out after 6 more hours... I was not forming my URL correctly when I typed part of it out by hand. <shoots self in head with finger>
> @"file://localhost/Volumes/..." instead of "@"file://Volumes/..."
The first is valid, but you can also use file:///Volumes/… (note the
_three_ slashes).
If you're constructing a URL, however, you can instead use +[NSURL
fileURLWithPath:@"/Volumes"] instead of hardcoding the URL. It will do
the right thing with respect to prefixing and escaping.
--Kyle Sluder
_______________________________________________
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