PSPDFLinkAnnotationEditingViewController

Objective-C


@interface PSPDFLinkAnnotationEditingViewController : PSPDFBaseViewController

Swift

class LinkAnnotationEditingViewController : PDFBaseViewController

Abstract class for view controllers that support link annotation creation and editing.

  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    PSPDF_DEFAULT_VIEWCONTROLLER_INIT_UNAVAILABLE
  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    PSPDF_DEFAULT_VIEWCONTROLLER_INIT_UNAVAILABLE
  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    PSPDF_DEFAULT_VIEWCONTROLLER_INIT_UNAVAILABLE
  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    PSPDF_DEFAULT_VIEWCONTROLLER_INIT_UNAVAILABLE
  • Designated initializer to create a new link annotation editing view controller.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDocument:(nonnull PSPDFDocument *)document
                              existingAction:(nullable PSPDFAction *)action;

    Swift

    init(document: PSPDFDocument, existing action: Action?)

    Parameters

    document

    Document where the new or the edited link annotation should be or is part of.

    action

    If editing an existing link annotation, this should be the existing action of the link.

  • Document where the new or the edited link annotation should be or is part of.

    Declaration

    Objective-C

    @property (nonatomic, readonly) PSPDFDocument *_Nonnull document;

    Swift

    var document: PSPDFDocument { get }
  • If editing an existing link annotation, this should be the existing action of the link.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) PSPDFAction *existingAction;

    Swift

    var existingAction: Action? { get }
  • The final link action. Usually be called from the presenter once creation or editing has been finished, when the Done button was tapped.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) PSPDFAction *linkAction;

    Swift

    var linkAction: Action? { get }
  • Delegate to be notified of potential changes.

    Declaration

    Objective-C

    @property (nonatomic, weak) id<PSPDFLinkAnnotationEditingViewControllerDelegate> _Nullable delegate;

    Swift

    weak var delegate: LinkAnnotationEditingViewControllerDelegate? { get set }
  • The link type the created/edited link should have.

    Declaration

    Objective-C

    @property (nonatomic, readonly) PSPDFLinkAnnotationType linkType;

    Swift

    var linkType: LinkAnnotation.Kind { get }