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 (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com