For the complete documentation index, see llms.txt. This page is also available as Markdown.

Integrate the new Viewer UI

Single document viewer

Follow the existing guides, using a PTDocumentController instead of a PTDocumentViewController.

Tabbed document viewer

Create a PTTabbedDocumentViewController as described in the guides, and then set its viewControllerClass property to the PTDocumentController class:

tabbedDocumentViewController.viewControllerClass = PTDocumentController.self

Last updated

Was this helpful?