PSPDFDropTarget
Objective-C
enum PSPDFDropTarget : NSUInteger {}
Swift
struct DropTarget : OptionSet, @unchecked Sendable
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: DragAndDropConfiguration.DropTarget { 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: DragAndDropConfiguration.DropTarget { 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: DragAndDropConfiguration.DropTarget { get }
-
All targets.
Declaration
Objective-C
PSPDFDropTargetAll = (9223372036854775807L * 2UL + 1UL)
Swift
static var all: DragAndDropConfiguration.DropTarget { get }