• 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: NSURLConnection Problem Inside QuickLook Generator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLConnection Problem Inside QuickLook Generator


  • Subject: Re: NSURLConnection Problem Inside QuickLook Generator
  • From: Julien Jalon <email@hidden>
  • Date: Tue, 8 Dec 2009 19:42:47 +0100

This discussion would be better done in the quicklook-dev mailing list. And
in fact, it already took place there.
Please avoid cross posting questions like this.

On Tue, Dec 8, 2009 at 7:16 PM, Dalmazio Brisinda <email@hidden>wrote:

> Thanks for that. Okay, I see the QuickLook docs sort of allude to this in
> regards to using Web-Kit plugins within QuickLook generators. Which gets me
> thinking: would it then be possible to maybe connect to the server via local
> distributed objects instead of using the NSURLConnection framework? In
> otherwords, how deep does the sandbox go?
>
> Any ideas on how to possibly bypass this would be most welcome.
>
> Best,
> Dalmazio
>
>
> On 2009-12-08, at 9:48 AM, David Duncan wrote:
>
> > On Dec 8, 2009, at 2:13 AM, Dalmazio Brisinda wrote:
> >
> >> I'm writing a QuickLook plugin that, as part of the preview process,
> makes an http call to a (localhost) server to obtain data that is then used
> to generate the preview image.
> >>
> >> The code below works fine outside the QuickLook architecture, as a
> standard Cocoa application. But as soon as I move the (exact) same code over
> to the QuickLook plugin, a call to the server only returns (null) response,
> and (null) data. The docs indicate that this means the connection is
> failing. But why o why is it failing?
> >
> >
> > My understanding is Quicklook plugins are not allowed to make network
> connections due to sandbox restrictions.
> > --
> > David Duncan
> > Apple DTS Animation and Printing
> >
>
> _______________________________________________
>
> 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
>
_______________________________________________

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: 
 >NSURLConnection Problem Inside QuickLook Generator (From: Dalmazio Brisinda <email@hidden>)
 >Re: NSURLConnection Problem Inside QuickLook Generator (From: David Duncan <email@hidden>)
 >Re: NSURLConnection Problem Inside QuickLook Generator (From: Dalmazio Brisinda <email@hidden>)

  • Prev by Date: Re: NSURLConnection Problem Inside QuickLook Generator
  • Next by Date: Re: IKImageBrowserView image quality changing with redraw
  • Previous by thread: Re: NSURLConnection Problem Inside QuickLook Generator
  • Next by thread: Re: NSDecimal chokes on very small numbers
  • Index(es):
    • Date
    • Thread