PSPDFBaseConfigurationBuilder
Objective-C
@interface PSPDFBaseConfigurationBuilder : NSObject
Swift
class BaseConfigurationBuilder : NSObject
Base class for building a configuration object.
-
Unavailable
Not the designated initializer
Undocumented
Declaration
Objective-C
PSPDF_EMPTY_INIT_UNAVAILABLE
-
Unavailable
Not the designated initializer
Undocumented
Declaration
Objective-C
PSPDF_EMPTY_INIT_UNAVAILABLE
-
Defines the target class for the readonly configuration object.
Declaration
Objective-C
@property (class, nonatomic, readonly) Class _Nonnull configurationTargetClass;
Swift
class var configurationTargetClass: AnyClass { get }
-
The actual configuration builder.
Declaration
Objective-C
@property (nonatomic, readonly) __kindof PSPDFBaseConfiguration *_Nonnull build;
Swift
var build: BaseConfiguration<BaseConfigurationBuilder> { get }
-
Resets all data to the default values. Called at init time.
-
A closure that provides a string to describe selected pages in the sharing UI.
The closure is passed the currently selected pages.
To use the default PSPDFKit description in some cases, keep a reference to the original closure and call through to it. Set this property to a custom closure to show the page label or any other custom description.
This closure does not call through to
pageDescriptionProvider
. Set both closures if you want to describe pages in a consistent way.Declaration
Swift
var selectedPagesDescriptionProvider: (DocumentSharingConfiguration.SelectedPages) -> String { get set }