PSPDFDataSinkOptions
Objective-C
enum PSPDFDataSinkOptions : NSUInteger {}
Swift
struct DataSinkOptions : OptionSet, @unchecked Sendable
Specifies the type of PSPDFDataSink
you’re requesting.
-
No option specified, the returned
PSPDFDataSink
is completely empty and writing starts at the beginning.Declaration
Objective-C
PSPDFDataSinkOptionNone = 0
-
Append mode. The data provider’s data will be used as a starting point and writing starts at the end.
Declaration
Objective-C
PSPDFDataSinkOptionAppend = 0x01
Swift
static var append: DataSinkOptions { get }