PSPDFModelEncodingBehavior

enum PSPDFModelEncodingBehavior {}

Defines how a PSPDFModel property key should be encoded into an archive.

  • The property should never be encoded.

    Declaration

    Objective-C

    PSPDFModelEncodingBehaviorExcluded = 0

    Swift

    case excluded = 0
  • The property should always be encoded.

    Declaration

    Objective-C

    PSPDFModelEncodingBehaviorUnconditional

    Swift

    case unconditional = 1
  • The object should be encoded only if unconditionally encoded elsewhere.

    Declaration

    Objective-C

    PSPDFModelEncodingBehaviorConditional

    Swift

    case conditional = 2
  • The object should be encoded as pointer value and is post-processed manually.

    Declaration

    Objective-C

    PSPDFModelEncodingBehaviorPointerValue

    Swift

    case pointerValue = 3