PSPDFDropType
Objective-C
enum PSPDFDropType : NSUInteger {}
Swift
struct DropType : OptionSet, @unchecked Sendable
Defines the types of items that are dropped.
-
No type.
Declaration
Objective-C
PSPDFDropTypeNone = 0
-
Text types.
Declaration
Objective-C
PSPDFDropTypeText = 1 << 0
Swift
static var text: DragAndDropConfiguration.DropType { get }
-
Image types.
Declaration
Objective-C
PSPDFDropTypeImage = 1 << 1
Swift
static var image: DragAndDropConfiguration.DropType { get }
-
PDF files.
Declaration
Objective-C
PSPDFDropTypePDF = 1 << 2
Swift
static var PDF: DragAndDropConfiguration.DropType { get }
-
All supported item types.
Declaration
Objective-C
PSPDFDropTypeAll = (9223372036854775807L * 2UL + 1UL)
Swift
static var all: DragAndDropConfiguration.DropType { get }