An open API service indexing awesome lists of open source software.

https://github.com/nemecek-filip/qlpreviewcontroller.example

Simple example project showing QLPreviewController usage
https://github.com/nemecek-filip/qlpreviewcontroller.example

ios-example qlpreviewcontroller quicklook

Last synced: 5 months ago
JSON representation

Simple example project showing QLPreviewController usage

Awesome Lists containing this project

README

          


Dynamic Type
Event Kit
Quick Look
App Ideas
Keyboard Preview
Modern Collection Views

----
# QLPreviewController Example

[![Twitter: @nemecek_f](https://img.shields.io/badge/contact-@nemecek_f-blue.svg?style=flat)](https://twitter.com/nemecek_f)
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/nemecek-filip/QLPreviewController.Example/blob/master/LICENSE)

![](Images/qlPreviewHeader.png)

### Simple example project showing `QLPreviewController` usage

This projects shows how to use `QLPreviewController` to preview various files like PDF, image, Word document and more. It shows how to create custom `QLPreviewItem`, how to configure `QLPreviewController` to display multiple files and also how to generate thumbnails with `QLThumbnailGenerator` using the `QLThumbnailGenerator.Request` and method `generateBestRepresentation`.

![](Images/thumbnails.jpeg)

It can even display 3D ARKit models in the `.usdz`

![](Images/3D-model-example.gif)