This repository contains a collection of samples for PDFTron's iOS SDK.
Sample | Description |
---|---|
CADViewer | CAD to PDF conversion using WebViewer Server as described in this guide |
CustomDocumentController | Using a custom PTDocumentController subclass |
ToolbarCustomization | Customizing the UI of the viewer as described in this guide |
ApryseComponentSubclassing | Subclassing an Apryse SDK component (in this case PTAnnotStyle ) as described in this guide |
RTFtoPDF | Convert a file from RTF to PDF |
RectToImage | Extract an area of a page to an image by drawing a rectangle annotation |
ExtractAnnotatedPages | Extract annotated pages into a new document |
ReactNative/ApryseSubclassSample | Subclassing an Apryse SDK component when using the React Native wrapper |
Flutter/apryse_subclass_sample | Subclassing an Apryse SDK component when using the Flutter wrapper |
More samples are included in the .dmg download:
Sample | Description |
---|---|
Complete Reader | A fully developed PDF reader. This sample incorporates the source code for all of PDFTron's iOS UI via the "Tools" subproject, which builds Tools.framework . |
Showcase | The source code for our feature showcase sample. |
CPP Sample | Demonstrates how to use PDFTron via a C++ interface. |
Custom | Demonstrates the use of a custom filter, which enables the implementation for custom DRM solutions. |
Miscellaneous Samples | An Xcode project that contains demonstrates core programmatic PDF functionality. |