Other Protocols
The following protocols are available globally.
-
Classes conforming to the
See morePTAnalyticsHandlerprotocol receive analytics events when registered with aPTAnalyticsManagerinstance.Declaration
Objective-C
@protocol PTAnalyticsHandler <NSObject>Swift
protocol PTAnalyticsHandler : NSObjectProtocol -
A protocol that defines the interface of a document model object.
See moreDeclaration
Objective-C
@protocol PTDocumentModel <NSObject>Swift
protocol PTDocumentModel : NSObjectProtocol -
A protocol that defines the interface of a page model object.
See moreDeclaration
Objective-C
@protocol PTPageModel <NSObject>Swift
protocol PTPageModel : NSObjectProtocol -
A protocol that defines the interface of an annotation model object.
See moreDeclaration
Objective-C
@protocol PTAnnotationModel <NSObject>Swift
protocol PTAnnotationModel : NSObjectProtocol -
A protocol that defines the interface of an annotation author model object.
See moreDeclaration
Objective-C
@protocol PTAnnotationAuthorModel <NSObject>Swift
protocol PTAnnotationAuthorModel : NSObjectProtocol -
Classes conforming to this protocol are responsible for refreshing the appearance stream of annotations.
See moreDeclaration
Objective-C
@protocol PTAnnotationRefreshAppearanceHandler <NSObject>Swift
protocol PTAnnotationRefreshAppearanceHandler : NSObjectProtocol -
A delegate protocol that describes the methods that are called by the associated view controller.
See moreDeclaration
Objective-C
@protocol PTAnnotationReplyInputViewControllerDelegate <NSObject>Swift
protocol PTAnnotationReplyInputViewControllerDelegate : NSObjectProtocol -
The
See morePTAnnotationStylePresetsViewDelegateprotocol allows the adopting class to respond to messages from thePTAnnotationStylePresetsViewclass.Declaration
Objective-C
@protocol PTAnnotationStylePresetsViewDelegate <NSObject>Swift
protocol PTAnnotationStylePresetsViewDelegate : NSObjectProtocol -
The interface for the delegate of a
See morePTAnnotationViewCellinstance.Declaration
Objective-C
@protocol PTAnnotationViewCellDelegate <NSObject>Swift
protocol PTAnnotationViewCellDelegate : NSObjectProtocol -
The
See morePTCollaborationServerprotocol allows the adopting class to be used for communicating annotation changes that occur on a shared document.Declaration
Objective-C
@protocol PTCollaborationServerCommunication <NSObject>Swift
protocol PTCollaborationServerCommunication : NSObjectProtocol -
The interface for the delegate of a
See morePTBookmarkViewCellinstance.Declaration
Objective-C
@protocol PTBookmarkViewCellDelegate <NSObject>Swift
protocol PTBookmarkViewCellDelegate : NSObjectProtocol -
A delegate used to respond to events from a
See morePTCountCreateinstance.Declaration
Objective-C
@protocol PTCountCreateDelegate <NSObject>Swift
protocol PTCountCreateDelegate : NSObjectProtocol -
Undocumented
See moreDeclaration
Objective-C
@protocol PTCreateRubberStampViewControllerDelegate <NSObject> @optional -(void)createRubberStampController:(PTCreateRubberStampViewController*)createRubberStampController createdStamp:(PTCustomStampOption*)stampOption; @endSwift
protocol PTCreateRubberStampViewControllerDelegate : NSObjectProtocol -
The PTCustomTableViewControllerDelegate protocol allows the adopting class to respond to events from the
See morePTCustomTableViewController.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
See morePTDiffViewControllerclass.Declaration
Objective-C
@protocol PTDiffViewControllerDelegate <NSObject> -
A delegate used to respond to events from a
See morePTDigitalSignatureToolinstance.Declaration
Objective-C
@protocol PTDigitalSignatureToolDelegate <NSObject>Swift
protocol PTDigitalSignatureToolDelegate : NSObjectProtocol -
The methods declared by the
See morePTDigitalSignaturesViewControllerDelegateprotocol allow the adopting delegate to respond to messages from thePTDigitalSignaturesViewControllerclass.Declaration
Objective-C
@protocol PTDigitalSignaturesViewControllerDelegate <NSObject>Swift
protocol PTDigitalSignaturesViewControllerDelegate : NSObjectProtocol -
Undocumented
See moreDeclaration
Objective-C
@protocol PTDocumentTabTableViewControllerDelegate <NSObject> @optional - (void)documentTabViewController:(PTDocumentTabTableViewController *)documentTabViewController didSelectTabAtIndex:(NSInteger)tabIndex; - (void)documentTabViewController:(PTDocumentTabTableViewController *)documentTabViewController didRemoveTabAtIndex:(NSInteger)tabIndex; @endSwift
protocol PTDocumentTabTableViewControllerDelegate : NSObjectProtocol -
The methods declared by the
See morePTSettingsViewControllerDelegateprotocol allow the adopting class to respond to messages from thePTSettingsViewControllerclass.Declaration
Objective-C
@protocol PTDocumentViewSettingsControllerDelegate <NSObject>Swift
protocol PTDocumentViewSettingsControllerDelegate : NSObjectProtocol -
Undocumented
See moreDeclaration
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; @endSwift
protocol PTFeatureGateDelegate : NSObjectProtocol -
A set of methods that allow a conforming class to be notified about events from a
See morePTFileAttachmentHandlerinstance.Declaration
Objective-C
@protocol PTFileAttachmentHandlerDelegate <NSObject>Swift
protocol PTFileAttachmentHandlerDelegate : NSObjectProtocol -
Undocumented
See moreDeclaration
Objective-C
@protocol PTFontPickerViewControllerDelegate <NSObject> - (void)fontPickerViewControllerDidPickFont:(PTFontPickerViewController *)fontPickerViewController; @endSwift
protocol PTFontPickerViewControllerDelegate : NSObjectProtocol -
The methods declared by the PTLegacyAnnotationViewControllerDelegate protocol allow the adopting delegate to respond to messages from the PTLegacyAnnotationViewController class.
See moreDeclaration
Objective-C
@protocol PTLegacyAnnotationViewControllerDelegate <NSObject>Swift
protocol PTLegacyAnnotationViewControllerDelegate : NSObjectProtocol -
The method declared by the
See morePTLinkPopupViewControllerDelegateprotocol allows the adopting delegate to respond to messages from thePTLinkPopupViewControllerclass.Declaration
Objective-C
@protocol PTLinkPopupViewControllerDelegate <NSObject>Swift
protocol PTLinkPopupViewControllerDelegate : NSObjectProtocol -
Undocumented
See moreDeclaration
Objective-C
@protocol PTMultiAnnotStyleViewControllerDelegate <NSObject> @optional - (nullable NSString *)multiAnnotStyleViewController:(PTMultiAnnotStyleViewController *)multiAnnotStyleViewController titleForStyle:(PTAnnotStyle *)style; @endSwift
protocol PTMultiAnnotStyleViewControllerDelegate : NSObjectProtocol -
Properties common to annotation border appearances.
See moreDeclaration
Objective-C
@protocol PTPDFAnnotationBorderAppearance <NSObject>Swift
protocol PTPDFAnnotationBorderAppearance : NSObjectProtocol -
The delegate of a
See morePTPDFDocumentManagerinstance.Declaration
Objective-C
@protocol PTPDFDocumentManagerDelegate <NSObject>Swift
protocol PTPDFDocumentManagerDelegate : NSObjectProtocol -
The methods declared by the PTPDFLayerViewControllerDelegate protocol allow the adopting delegate to respond to messages from the PTPDFLayerViewController class.
See moreDeclaration
Objective-C
@protocol PTPDFLayerViewControllerDelegate <NSObject>Swift
protocol PTPDFLayerViewControllerDelegate : NSObjectProtocol -
The
See morePTPageCropViewControllerDelegateprotocol allows the adopting class to respond to messages from thePTPageCropViewControllerclass.Declaration
Objective-C
@protocol PTPageCropViewControllerDelegate <NSObject>Swift
protocol PTPageCropViewControllerDelegate : NSObjectProtocol -
Undocumented
See moreDeclaration
Objective-C
@protocol PTPanelViewControllerDelegate <NSObject> @optional - (void)panelViewController:(PTPanelViewController *)panelViewController didShowLeadingViewController:(UIViewController *)viewController; - (void)panelViewController:(PTPanelViewController *)panelViewController didDismissLeadingViewController:(UIViewController *)viewController; @endSwift
protocol PTPanelViewControllerDelegate : NSObjectProtocol -
Informs the delegate object of changes in the originator’s state.
See moreDeclaration
Objective-C
@protocol PTPencilDrawingCreateDelegate <NSObject>Swift
protocol PTPencilDrawingCreateDelegate : NSObjectProtocol -
Undocumented
See moreDeclaration
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; @endSwift
protocol PTReflowManagerDelegate : NSObjectProtocol -
The methods declared by the
See morePTReflowSettingsViewControllerDelegateprotocol allow the adopting class to respond to messages from thePTReflowSettingsViewControllerclass.Declaration
Objective-C
@protocol PTReflowSettingsViewControllerDelegate <NSObject>Swift
protocol PTReflowSettingsViewControllerDelegate : NSObjectProtocol -
Properties of annotations that support rich text content.
See moreDeclaration
Objective-C
@protocol PTRichTextAnnotationProperties <NSObject>Swift
protocol PTRichTextAnnotationProperties : NSObjectProtocol -
Undocumented
See moreDeclaration
Objective-C
@protocol PTRichTextAppearanceViewModel <NSObject> @required #pragma mark - Annotation properties /** * The properties for the represented free text annotation. */ @property (nonatomic, readonly, strong) id<PTRichTextAnnotationProperties> properties; #pragma mark - Contents /** * The unattributed text contents of the annotation, as a string. * * @see `PTRichTextAppearanceViewModel.richContents` */ @property (nonatomic, copy, nullable) NSString *contents; /** * The rich contents of the annotation, as a string. * * @see `PTRichTextAppearanceViewModel.contents` * @see `PTRichTextAppearanceViewModel.attributedContents` */ @property (nonatomic, copy, nullable) NSString *richContents; /** * The attributed text contents of the annotation. * * @see `PTRichTextAppearanceViewModel.richContents` */ @property (nonatomic, copy, nullable) NSAttributedString *attributedContents; #pragma mark - Other attributes /** * The amount that the text is inset from the edges of the content. */ @property (nonatomic, assign) UIEdgeInsets textContentInset; @endSwift
protocol PTRichTextAppearanceViewModel : NSObjectProtocol -
A delegate used to respond
See moreDeclaration
Objective-C
@protocol PTRubberStampViewControllerDelegate <NSObject>Swift
protocol PTRubberStampViewControllerDelegate : NSObjectProtocol -
A delegate used to respond to events from a
See morePTSavedCountGroupsViewControllerinstance.Declaration
Objective-C
@protocol PTSavedCountGroupsViewControllerDelegate <NSObject>Swift
protocol PTSavedCountGroupsViewControllerDelegate : NSObjectProtocol -
The methods declared by the
See morePTSearchSettingsViewControllerDelegateprotocol allow the adopting delegate to respond to messages from thePTSearchSettingsViewControllerclass.Declaration
Objective-C
@protocol PTSearchSettingsViewControllerDelegate <NSObject>Swift
protocol PTSearchSettingsViewControllerDelegate : NSObjectProtocol -
The interface for the delegate of a
See morePTSelectionRectView.Declaration
Objective-C
@protocol PTSelectionRectViewDelegate <NSObject>Swift
protocol PTSelectionRectViewDelegate : NSObjectProtocol -
A delegate used to respond to events from a
See morePTSignaturesManagerinstance.Declaration
Objective-C
@protocol PTSignaturesManagerDelegate <NSObject>Swift
protocol PTSignaturesManagerDelegate : NSObjectProtocol -
The
See morePTToolGroupManagerDelegateprotocol allows the adopting class to respond to messages from thePTToolGroupManagerclass.Declaration
Objective-C
@protocol PTToolGroupManagerDelegate <NSObject>Swift
protocol PTToolGroupManagerDelegate : NSObjectProtocol -
The
See morePTToolGroupToolbarDelegateprotocol allows the adopting class to respond to messages from thePTToolGroupToolbarclass.Declaration
Objective-C
@protocol PTToolGroupToolbarDelegate <NSObject>Swift
protocol PTToolGroupToolbarDelegate : NSObjectProtocol
-
Instances of classes conforming to the
See morePTToolManagerObserverprotocol can be notified of changes in the tool manager.Declaration
Objective-C
@protocol PTToolManagerObserver <NSObject>Swift
protocol PTToolManagerObserver : NSObjectProtocol -
This protocol allows a conforming object, usually a
See moreUIViewControllersubclass, to control the presentation of other view controllers.Declaration
Objective-C
@protocol PTToolManagerViewControllerPresentation <NSObject>Swift
protocol PTToolManagerViewControllerPresentation : NSObjectProtocol
Other Protocols Reference