PSPDFFileConflictResolution

Objective-C

enum PSPDFFileConflictResolution : NSUInteger {}

Swift

enum FileConflictResolution : UInt, @unchecked Sendable

Resolution options for conflicts due to out of process file changes or deletion.

  • Resolve the conflict by closing the document.

    Declaration

    Objective-C

    PSPDFFileConflictResolutionClose = 0

    Swift

    case close = 0
  • Resolve the conflict by saving the open document and overriding any file changes. If the file was deleted it will be restored.

    Declaration

    Objective-C

    PSPDFFileConflictResolutionSave

    Swift

    case save = 1
  • Discard local changes and reload from file.

    Declaration

    Objective-C

    PSPDFFileConflictResolutionReload

    Swift

    case reload = 2