PTCoordinatedDocument

@interface PTCoordinatedDocument : UIDocument

A UIDocument subclass backed by a PTPDFDoc object.

To instantiate a new PTCoordinatedDocument, use initWithFileURL:.

  • The underlying PDF document. This property will be nil until the UIDocument is loaded.

    This property should not generally be set, except when the document may have been modified by out outside process, and needs to be reloaded.

    To instantiate a new PTCoordinatedDocument, use initWithFileURL:.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) PTPDFDoc *pdfDoc;

    Swift

    var pdfDoc: PTPDFDoc? { get set }
  • The delegate of the PTCoordinatedDocument object.

    Declaration

    Objective-C

    @property (readwrite, nonatomic, nullable) id<PTCoordinatedDocumentDelegate>
        delegate;

    Swift

    weak var delegate: PTCoordinatedDocumentDelegate? { get set }