Getting QuickLook to work with NSDocument
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