On 28/11/2008, at 11:29 AM, Jean-Nicolas Jolivet wrote:

I might be missing something obvious here but I'm reading the Quick Look companion guide and I can't seem to find any info about implementing QuickLook in my app for native types (only images actually)...

All I can find is info about writing my own preview generators etc, do I need to do that for native types too? It seems so complex I might just end up writing my own preview class and forget quick look....


QuickLook supports HTML, PDF, RTF, bitmap images and plain text. You can't have a more complex preview than that, although you can use graphics contexts to create these formats on the fly:

http://developer.apple.com/documentation/userexperience/Conceptual/Quicklook_Programming_Guide/QLDrawGraphContext/chapter_6_section_1.html

I'm not sure I understand your comment about writing your own preview class. What is your preview for but for display in the Finder and QuickLook? How is writing a QuickLook generator difficult or inadequate for that task?

--
Rob Keniger



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to