Other Protocols

The following protocols are available globally.

  • Tells the delegate when the PDF is prepared for printing after a call to a PTPrint instance’s -[PTPrint PrepareDocToPrint:Delegate:UserData:] method.

    See more

    Declaration

    Objective-C

    @protocol PTPrintDelegate <NSObject>

    Swift

    protocol PTPrintDelegate : NSObjectProtocol
  • Classes conforming to the PTAnalyticsHandler protocol receive analytics events when registered with a PTAnalyticsManager instance.

    See more

    Declaration

    Objective-C

    @protocol PTAnalyticsHandler <NSObject>

    Swift

    protocol PTAnalyticsHandler : NSObjectProtocol
  • A protocol that defines the interface of a document model object.

    See more

    Declaration

    Objective-C

    @protocol PTDocumentModel <NSObject>

    Swift

    protocol PTDocumentModel : NSObjectProtocol
  • A protocol that defines the interface of a page model object.

    See more

    Declaration

    Objective-C

    @protocol PTPageModel <NSObject>

    Swift

    protocol PTPageModel : NSObjectProtocol
  • A protocol that defines the interface of an annotation model object.

    See more

    Declaration

    Objective-C

    @protocol PTAnnotationModel <NSObject>

    Swift

    protocol PTAnnotationModel : NSObjectProtocol
  • A protocol that defines the interface of an annotation author model object.

    See more

    Declaration

    Objective-C

    @protocol PTAnnotationAuthorModel <NSObject>

    Swift

    protocol PTAnnotationAuthorModel : NSObjectProtocol
  • A delegate protocol that describes the methods that are called by the associated view controller.

    See more

    Declaration

    Objective-C

    @protocol PTAnnotationReplyInputViewControllerDelegate <NSObject>

    Swift

    protocol PTAnnotationReplyInputViewControllerDelegate : NSObjectProtocol
  • The PTAnnotationStylePresetsViewDelegate protocol allows the adopting class to respond to messages from the PTAnnotationStylePresetsView class.

    See more

    Declaration

    Objective-C

    @protocol PTAnnotationStylePresetsViewDelegate <NSObject>

    Swift

    protocol PTAnnotationStylePresetsViewDelegate : NSObjectProtocol
  • The PTCollaborationServer protocol allows the adopting class to be used for communicating annotation changes that occur on a shared document.

    See more

    Declaration

    Objective-C

    @protocol PTCollaborationServerCommunication <NSObject>

    Swift

    protocol PTCollaborationServerCommunication : NSObjectProtocol
  • A delegate used to respond to events from a PTCountCreate instance.

    See more

    Declaration

    Objective-C

    @protocol PTCountCreateDelegate <NSObject>

    Swift

    protocol PTCountCreateDelegate : NSObjectProtocol
  • Undocumented

    See more

    Declaration

    Objective-C

    @protocol PTCreateRubberStampViewControllerDelegate <NSObject>
    @optional
    -(void)createRubberStampController:(PTCreateRubberStampViewController*)createRubberStampController createdStamp:(PTCustomStampOption*)stampOption;
    @end

    Swift

    protocol PTCreateRubberStampViewControllerDelegate : NSObjectProtocol
  • The PTCustomTableViewControllerDelegate protocol allows the adopting class to respond to events from the PTCustomTableViewController.

    See more

    Declaration

    Objective-C

    @protocol PTCustomTableViewControllerDelegate <NSObject>

    Swift

    protocol PTCustomTableViewControllerDelegate : NSObjectProtocol
  • The methods declared by the PTDiffViewControllerDelegate protocol allow the adopting delegate to respond to messages from the PTDiffViewController class.

    See more

    Declaration

    Objective-C

    @protocol PTDiffViewControllerDelegate <NSObject>
  • A delegate used to respond to events from a PTDigitalSignatureTool instance.

    See more

    Declaration

    Objective-C

    @protocol PTDigitalSignatureToolDelegate <NSObject>

    Swift

    protocol PTDigitalSignatureToolDelegate : NSObjectProtocol
  • The methods declared by the PTDigitalSignaturesViewControllerDelegate protocol allow the adopting delegate to respond to messages from the PTDigitalSignaturesViewController class.

    See more

    Declaration

    Objective-C

    @protocol PTDigitalSignaturesViewControllerDelegate <NSObject>

    Swift

    protocol PTDigitalSignaturesViewControllerDelegate : NSObjectProtocol
  • The PTDocumentConversionServiceDelegate protocol allows the adopting class to respond to messages from the PTDocumentConversionService class.

    See more

    Declaration

    Objective-C

    @protocol PTDocumentConversionServiceDelegate <NSObject>

    Swift

    protocol PTDocumentConversionServiceDelegate : NSObjectProtocol
  • The methods declared by the PTSettingsViewControllerDelegate protocol allow the adopting class to respond to messages from the PTSettingsViewController class.

    See more

    Declaration

    Objective-C

    @protocol PTDocumentViewSettingsControllerDelegate <NSObject>

    Swift

    protocol PTDocumentViewSettingsControllerDelegate : NSObjectProtocol
  • Undocumented

    See more

    Declaration

    Objective-C

    @protocol PTFeatureGateDelegate <NSObject>
    
    -(BOOL)featureGate:(PTFeatureGate*)featureGate isAvailable:(NSString*)featureID;
    
    -(void)featureGate:(PTFeatureGate *)featureGate handleFeature:(NSString *)featureID onController:(UIViewController*)controller;
    
    - (UIImageView *)featureGateProImageView:(PTFeatureGate *)featureGate WithTintColor:(nullable UIColor *)tintColor;
    
    - (NSString *)featureGate:(PTFeatureGate*)featureGate proButtonTitleForTitle:(NSString *)title forFeature:(NSString *)featureID;
    
    - (UIImage *)featureGateUnavailableIndicatorImage:(PTFeatureGate*)featureGate;
    
    - (UIImage *)featureGateUnavailableIconImage:(PTFeatureGate*)featureGate;
    
    @end

    Swift

    protocol PTFeatureGateDelegate : NSObjectProtocol
  • A set of methods that allow a conforming class to be notified about events from a PTFileAttachmentHandler instance.

    See more

    Declaration

    Objective-C

    @protocol PTFileAttachmentHandlerDelegate <NSObject>

    Swift

    protocol PTFileAttachmentHandlerDelegate : NSObjectProtocol
  • Undocumented

    See more

    Declaration

    Objective-C

    @protocol PTFontPickerViewControllerDelegate <NSObject>
    
    - (void)fontPickerViewControllerDidPickFont:(PTFontPickerViewController *)fontPickerViewController;
    
    @end

    Swift

    protocol PTFontPickerViewControllerDelegate : NSObjectProtocol
  • The methods declared by the PTLegacyAnnotationViewControllerDelegate protocol allow the adopting delegate to respond to messages from the PTLegacyAnnotationViewController class.

    See more

    Declaration

    Objective-C

    @protocol PTLegacyAnnotationViewControllerDelegate <NSObject>

    Swift

    protocol PTLegacyAnnotationViewControllerDelegate : NSObjectProtocol
  • The method declared by the PTLinkPopupViewControllerDelegate protocol allows the adopting delegate to respond to messages from the PTLinkPopupViewController class.

    See more

    Declaration

    Objective-C

    @protocol PTLinkPopupViewControllerDelegate <NSObject>

    Swift

    protocol PTLinkPopupViewControllerDelegate : NSObjectProtocol
  • Undocumented

    See more

    Declaration

    Objective-C

    @protocol PTMultiAnnotStyleViewControllerDelegate <NSObject>
    @optional
    
    - (nullable NSString *)multiAnnotStyleViewController:(PTMultiAnnotStyleViewController *)multiAnnotStyleViewController titleForStyle:(PTAnnotStyle *)style;
    
    @end

    Swift

    protocol PTMultiAnnotStyleViewControllerDelegate : NSObjectProtocol
  • The methods declared by the PTPDFLayerViewControllerDelegate protocol allow the adopting delegate to respond to messages from the PTPDFLayerViewController class.

    See more

    Declaration

    Objective-C

    @protocol PTPDFLayerViewControllerDelegate <NSObject>

    Swift

    protocol PTPDFLayerViewControllerDelegate : NSObjectProtocol
  • The PTPageCropViewControllerDelegate protocol allows the adopting class to respond to messages from the PTPageCropViewController class.

    See more

    Declaration

    Objective-C

    @protocol PTPageCropViewControllerDelegate <NSObject>

    Swift

    protocol PTPageCropViewControllerDelegate : NSObjectProtocol
  • Undocumented

    See more

    Declaration

    Objective-C

    @protocol PTPanelViewControllerDelegate <NSObject>
    @optional
        
    - (void)panelViewController:(PTPanelViewController *)panelViewController didShowLeadingViewController:(UIViewController *)viewController;
    
    - (void)panelViewController:(PTPanelViewController *)panelViewController didDismissLeadingViewController:(UIViewController *)viewController;
    
    @end

    Swift

    protocol PTPanelViewControllerDelegate : NSObjectProtocol
  • Informs the delegate object of changes in the originator’s state.

    See more

    Declaration

    Objective-C

    @protocol PTPencilDrawingCreateDelegate <NSObject>

    Swift

    protocol PTPencilDrawingCreateDelegate : NSObjectProtocol
  • Undocumented

    See more

    Declaration

    Objective-C

    @protocol PTReflowManagerDelegate <NSObject>
    @optional
    
    - (void)reflowManager:(PTReflowManager *)reflowManager didBeginRequestForPageNumber:(int)pageNumber;
    
    - (void)reflowManager:(PTReflowManager *)reflowManager didReceiveResult:(NSString*)html reflow:(PTReflow *)reflow forPageNumber:(int)pageNumber;
    
    - (void)reflowManager:(PTReflowManager *)reflowManager requestCancelledForPageNumber:(int)pageNumber;
    
    - (void)reflowManager:(PTReflowManager *)reflowManager requestFailedForPageNumber:(int)pageNumber;
    
    - (void)reflowManager:(PTReflowManager *)reflowManager updateAnnotationMode:(BOOL)enabled;
    
    @end

    Swift

    protocol PTReflowManagerDelegate : NSObjectProtocol
  • The methods declared by the PTReflowSettingsViewControllerDelegate protocol allow the adopting class to respond to messages from the PTReflowSettingsViewController class.

    See more

    Declaration

    Objective-C

    @protocol PTReflowSettingsViewControllerDelegate <NSObject>

    Swift

    protocol PTReflowSettingsViewControllerDelegate : NSObjectProtocol
  • A delegate used to respond

    See more

    Declaration

    Objective-C

    @protocol PTRubberStampViewControllerDelegate <NSObject>

    Swift

    protocol PTRubberStampViewControllerDelegate : NSObjectProtocol
  • A delegate used to respond to events from a PTSavedCountGroupsViewController instance.

    See more

    Declaration

    Objective-C

    @protocol PTSavedCountGroupsViewControllerDelegate <NSObject>

    Swift

    protocol PTSavedCountGroupsViewControllerDelegate : NSObjectProtocol
  • The methods declared by the PTSearchSettingsViewControllerDelegate protocol allow the adopting delegate to respond to messages from the PTSearchSettingsViewController class.

    See more

    Declaration

    Objective-C

    @protocol PTSearchSettingsViewControllerDelegate <NSObject>

    Swift

    protocol PTSearchSettingsViewControllerDelegate : NSObjectProtocol
  • A delegate used to respond to events from a PTSignaturesManager instance.

    See more

    Declaration

    Objective-C

    @protocol PTSignaturesManagerDelegate <NSObject>

    Swift

    protocol PTSignaturesManagerDelegate : NSObjectProtocol
  • The PTToolGroupManagerDelegate protocol allows the adopting class to respond to messages from the PTToolGroupManager class.

    See more

    Declaration

    Objective-C

    @protocol PTToolGroupManagerDelegate <NSObject>

    Swift

    protocol PTToolGroupManagerDelegate : NSObjectProtocol
  • The PTToolGroupToolbarDelegate protocol allows the adopting class to respond to messages from the PTToolGroupToolbar class.

    See more

    Declaration

    Objective-C

    @protocol PTToolGroupToolbarDelegate <NSObject>

    Swift

    protocol PTToolGroupToolbarDelegate : NSObjectProtocol
  • Instances of classes conforming to the PTToolManagerObserver protocol can be notified of changes in the tool manager.

    See more

    Declaration

    Objective-C

    @protocol PTToolManagerObserver <NSObject>

    Swift

    protocol PTToolManagerObserver : NSObjectProtocol
  • This protocol allows a conforming object, usually a UIViewController subclass, to control the presentation of other view controllers.

    See more

    Declaration

    Objective-C

    @protocol PTToolManagerViewControllerPresentation <NSObject>

    Swift

    protocol PTToolManagerViewControllerPresentation : NSObjectProtocol