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
  • 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
  • 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>

    Swift

    protocol PTDiffViewControllerDelegate : 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
  • 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
  • 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
  • A delegate used to respond

    See more

    Declaration

    Objective-C

    @protocol PTRubberStampViewControllerDelegate <NSObject>

    Swift

    protocol PTRubberStampViewControllerDelegate : 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
  • 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
  • Undocumented

    See more

    Declaration

    Objective-C

    @protocol PTToolManagerViewControllerPresentation <NSObject>
    @optional
    /**
     * Specifies whether the view controller prefers the navigation bar to be hidden or shown.
     *
     * @return `YES` if the navigation bar should be hidden.
     */
    - (BOOL)prefersNavigationBarHidden;
    @end

    Swift

    protocol PTToolManagerViewControllerPresentation : NSObjectProtocol