Last Revision:
Version 1.1, 2009-05-11
Updated code to use saveGraphicsState and restoreGraphicsState instead of currentContext and setCurrentContext to avoid a crash.
(Full Revision History)
Build Requirements:
Xcode 3.0 and Mac OS X version 10.5 or later
Runtime Requirements:
Mac OS X version 10.5 or later

This example shows how to write a Quick Look preview generator for Sketch documents. Quick Look is a system-wide preview service in Mac OS X. A Quick Look generator provides document-specific thumbnails and rich previews for its associated document type.