PSPDFBaseConfiguration
Objective-C
@interface PSPDFBaseConfiguration<
BuilderType : __kindof PSPDFBaseConfigurationBuilder *> : PSPDFModel
Swift
class BaseConfiguration<BuilderType> : ModelObject where BuilderType : BaseConfigurationBuilder
Used for various configuration options.
See
PSPDFConfiguration-
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
-
Undocumented
Declaration
Objective-C
+ (instancetype)defaultConfiguration;
Swift
class func `default`() -> Self
-
Undocumented
Declaration
Objective-C
- (instancetype)initWithBuilder:(BuilderType)builder NS_DESIGNATED_INITIALIZER;
Swift
init(builder: BuilderType)
-
Returns a copy of the default configuration. You can provide a
builderBlock
to change the value of properties.Declaration
Objective-C
+ (nonnull instancetype)configurationWithBuilder: (nullable void (^)(BuilderType _Nonnull))builderBlock;
Swift
convenience init(builder builderBlock: ((BuilderType) -> Void)? = nil)
-
Copies an existing configuration and all settings + modifies with new changes.
Declaration
Objective-C
- (nonnull instancetype)configurationUpdatedWithBuilder: (nonnull void (^)(BuilderType _Nonnull))builderBlock;
Swift
func configurationUpdated(builder builderBlock: (BuilderType) -> Void) -> Self