Interactions

  • An object that encapsulates one or more user actions handled by the framework.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFInteractionComponent<ContextType> : NSObject

    Swift

    class InteractionComponent<ContextType> : NSObject where ContextType : AnyObject
  • An object used as an activation context in PSPDFAnnotationInteraction that provides information about an annotation being selected or edited and a page view that contains it.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFAnnotationSelectionContext<
        __covariant AnnotationType : PSPDFAnnotation *> : NSObject

    Swift

    class AnnotationSelectionContext<AnnotationType> : NSObject where AnnotationType : PSPDFAnnotation
  • An object used as an activation context in PSPDFAnnotationInteraction that provides information about an annotation being transformed, a page view that contains it and a transformation mode.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFAnnotationTransformationContext<
        __covariant AnnotationType : PSPDFAnnotation *> : NSObject

    Swift

    class AnnotationTransformationContext<AnnotationType> : NSObject where AnnotationType : PSPDFAnnotation
  • A protocol that provides a collection of customizable interaction components.

    See more

    Declaration

    Objective-C

    @protocol PSPDFDocumentViewInteractions <NSObject>

    Swift

    protocol DocumentViewInteractions : NSObjectProtocol
  • An object used as an activation context of PSPDFFastScrollInteraction that contains additional information about the direction of fast scroll.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFFastScrollContext : NSObject

    Swift

    class FastScrollContext : NSObject
  • An object used as an activation context in PSPDFSmartZoomInteraction that provides information about a scroll view being zoomed and a target zoom rectangle.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFSmartZoomContext : NSObject

    Swift

    class SmartZoomContext : NSObject
  • An object that configures the annotation menu.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFAnnotationMenuConfiguration
        : PSPDFBaseConfiguration <PSPDFAnnotationMenuConfigurationBuilder *>

    Swift

    class AnnotationMenuConfiguration : BaseConfiguration<AnnotationMenuConfiguration.Builder>
  • An enum that describes the appearance of an edit menu.

    See more

    Declaration

    Objective-C

    enum PSPDFEditMenuAppearance : NSInteger {}

    Swift

    @frozen enum EditMenuAppearance : Int, @unchecked Sendable
  • An object that configures the text and image selection menu.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFContentMenuConfiguration
        : PSPDFBaseConfiguration <PSPDFContentMenuConfigurationBuilder *>

    Swift

    class ContentMenuConfiguration : BaseConfiguration<ContentMenuConfiguration.Builder>