Search code examples
objective-cmacosquicklook

show quick look preview in a view


I am trying to show the preview of a file in a View instead of in a panel. All examples I found are about QLPreviewPanel. :(

Thanks in advance for your help.


Solution

  • Starting in OS X 10.7, there is a public API for this: QLPreviewView.h, which is part of the QuickLookUI framework (which is part of the Quartz framework). There doesn't seem to be documentation on it, but the header file provides some basic info.