PSPDFNoteAnnotationViewControllerDelegate

Objective-C

@protocol PSPDFNoteAnnotationViewControllerDelegate<NSObject>

@optional

/// Called when the `noteController` has deleted the parent annotation.
/// Not called when any of the comments has been deleted.
- (void)noteAnnotationController:(PSPDFNoteAnnotationViewController *)noteController didDeleteAnnotation:(PSPDFAnnotation *)annotation;

/// Called when the `noteController` has cleared the contents of the annotation.
- (void)noteAnnotationController:(PSPDFNoteAnnotationViewController *)noteController didClearContentsForAnnotation:(PSPDFAnnotation *)annotation;

/// Called when the `noteController` changes the annotation’s contents, color, or iconName.
- (void)noteAnnotationController:(PSPDFNoteAnnotationViewController *)noteController didChangeAnnotation:(PSPDFAnnotation *)annotation;

/// Called before the `noteController` is closed.
- (void)noteAnnotationController:(PSPDFNoteAnnotationViewController *)noteController willDismissWithAnnotation:(nullable PSPDFAnnotation *)annotation;

@end

Swift

protocol NoteAnnotationViewControllerDelegate : NSObjectProtocol

Undocumented