PSPDFDocumentCheckpointingStrategy

Objective-C

enum PSPDFDocumentCheckpointingStrategy {}

Swift

@frozen enum DocumentCheckpointingStrategy : UInt

The strategy used by the PSPDFDocumentCheckpointer to save checkpoints.

  • A checkpoint is never created automatically.

    Declaration

    Objective-C

    PSPDFDocumentCheckpointingStrategyManual

    Swift

    case manual = 0
  • A checkpoint is created periodically, if the document has unsaved changes.

    Declaration

    Objective-C

    PSPDFDocumentCheckpointingStrategyTimed

    Swift

    case timed = 1
  • A checkpoint is created as soon as the annotations in the document are modified, added, or removed.

    Declaration

    Objective-C

    PSPDFDocumentCheckpointingStrategyImmediate

    Swift

    case immediate = 2