DDQuicklookAdditionalViews 0.1.0

DDQuicklookAdditionalViews 0.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.



  • By
  • Dominik Pich

QLPreviewPanel+AdditionalViews

An extension for the OSX cocoa class QLPreviewPanel which is used to show and control Apple's Quicklook panel. (10.7+).
The Category provides two new properties to the PreviewPanel to set additional views in the titlebar. (iOS-like)

@property(nonatomic, retain) NSView *leftBarView;
@property(nonatomic, retain) NSView *rightBarView;

Screenshot Screenshot2


The Extension works in any cocoa app, uses no private API and has no dependencies. The code uses method Swizzling and associative storage [shady but cool] to get the runtime to 'integrate' our category and even do it automatically (only drop in the file and you're good to go!)