• 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
Getting QuickLook to work with NSDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting QuickLook to work with NSDocument


  • Subject: Getting QuickLook to work with NSDocument
  • From: Pax <email@hidden>
  • Date: Sat, 08 Feb 2014 11:32:20 +0000

I'm trying to get QuickLook preview to work with NSDocument - much as in the QuickLookDownloader example provided by Apple.

I thought I had it all set up correctly -

#import <Quartz/Quartz.h>

@interface Document : NSDocument <NSToolbarDelegate,QLPreviewPanelDataSource, QLPreviewPanelDelegate>
{
    QLPreviewPanel* previewPanel;
}

Something is clearly amiss though - because acceptsPreviewPanelControl is never called.  Does anyone know of any really simple, dumbass examples (simpler even than QuickLookDownloader) that might help me untangle this conundrum?
_______________________________________________

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


  • Follow-Ups:
    • Re: Getting QuickLook to work with NSDocument
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: NSWindow remember whether showing on re-launch
  • Next by Date: Re: Managing image loading
  • Previous by thread: Re: NSWindow remember whether showing on re-launch
  • Next by thread: Re: Getting QuickLook to work with NSDocument
  • Index(es):
    • Date
    • Thread