About PSPDFKit for iOS
PSPDFKit is an advanced framework for displaying and annotating PDFs on iOS (We also have a version for Android). It includes tools to display PDFs, edit PDFs, create PDFs, create/edit annotations, fill out forms and create/verify digital signatures.
At a Glance
While the amount of API might look overwhelming at first, you usually only need a subset of these classes but have the power to customize almost anything. We chose to expose a lot of API so that every aspect can be customized, however most settings have good and sensible defaults and you don’t need to know about all classes to start using it.
Here’s the list of classes you will most likely use:
- PSPDFDocument - the base class for your PDFs. Can contain multiple document sources from files, data blobs or even
- PSPDFViewController - the main controller to display your PSPDFDocument objects.
- PSPDFViewControllerDelegate - delegate to respond to user actions like tapping on a link.
- PSPDFConfiguration - configures the PSPDFViewController.
- PSPDFDocumentDelegate - be notified when the document is being saved.
- PSPDFLibrary - a full-text search across multiple documents.
- PSPDFDocumentPickerController - a handy document picker table view that also allows search.
- PSPDFProcessor - create new documents or password-protect existing ones.
- PSPDFAnnotation - the base class for all annotation objects.
- PSPDFAnnotationToolbar - the toolbar to add annotations.
- PSPDFAnnotationStateManager - manages special states to create annotations. (drawings, etc)
- PSPDFGlyph - represents a single character in a PDF document. Use objectsAtPDFRect:page:options: to extract from pages.
- PSPDFCache - fine-tune the caching behavior or clear the disk cache.
Via the overrideClass:withClass: method you can override almost any class of the controller/view layer (via PSPDFViewController) and the model layer (via PSPDFDocument) with your own subclass. Use this to customize details that are deep within PSPDFKit with minimum effort. You find some examples for this in the PSPDFCatalog example app.
Visit pspdfkit.com/guides for a step-by-step guide to integrate PSPDFKit.
PSPDFKit is commercially licensed. Contact us at firstname.lastname@example.org. Copyright © 2010-2017 PSPDFKit GmbH.
Feel free to submit a support ticket if you have any questions or bug reports.