PSPDFFormOption

Objective-C

@interface PSPDFFormOption : NSObject <NSSecureCoding>

PSPDF_EMPTY_INIT_UNAVAILABLE

/// Initializes an instance of this class with a label and value.
- (instancetype)initWithLabel:(NSString *)label value:(NSString *)value NS_DESIGNATED_INITIALIZER;

/// The label of the option which should be presented to the user.
@property (nonatomic, readonly) NSString *label;

/// The value that gets exported for the given option. Can be the same as `label`
@property (nonatomic, readonly) NSString *value;

@end

Swift

class PDFFormOption : NSObject, NSSecureCoding

Undocumented

  • 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
  • Initializes an instance of this class with a label and value.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithLabel:(nonnull NSString *)label
                                    value:(nonnull NSString *)value;

    Swift

    init(label: String, value: String)
  • The label of the option which should be presented to the user.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull label;

    Swift

    var label: String { get }
  • The value that gets exported for the given option. Can be the same as label

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull value;

    Swift

    var value: String { get }