Tyilo
Tyilo

Reputation: 30142

Convert QLPreviewRequestRef to QLThumbnailRequestRef

Is it possible to convert or typecast the one to the other?

I want to do this because my QuickLook generator is doing the same thing for both thumbnails and previews.

Upvotes: 0

Views: 166

Answers (1)

Julien
Julien

Reputation: 3477

No, they are fundamentally different. You'll have to wrap them in your own kind of object and chose the API to answer the request accordingly.

Upvotes: 1

Related Questions