PSPDFDropTarget

enum PSPDFDropTarget {}

Defines targets where drops can happen.

  • No target.

    Declaration

    Objective-C

    PSPDFDropTargetNone = 0
  • Drops from external apps.

    Declaration

    Objective-C

    PSPDFDropTargetExternalApp = 1 << 0

    Swift

    static var externalApp: PSPDFDropTarget { get }
  • Drops that originated on the same page. Only honored in local drag sessions, and if there is only one item in the drop session.

    Declaration

    Objective-C

    PSPDFDropTargetSamePage = 1 << 1

    Swift

    static var samePage: PSPDFDropTarget { get }
  • Drops that originated on another page. Only honored in local drag sessions, and if there is only one item in the drop session.

    Declaration

    Objective-C

    PSPDFDropTargetOtherPages = 1 << 2

    Swift

    static var otherPages: PSPDFDropTarget { get }
  • All targets.

    Declaration

    Objective-C

    PSPDFDropTargetAll = (9223372036854775807L * 2UL + 1UL)

    Swift

    static var all: PSPDFDropTarget { get }