PSPDFUndoCoalescing

Undocumented

  • Does not coalesce events with the same key at all but rather creates one new undo event for every single change.

    Declaration

    Objective-C

    PSPDFUndoCoalescingNone

    Swift

    case none = 0
  • Coalesces events with the same key by time. Assuming that a key changes a number of times over a short period of time, only the initial value will be recorded.

    Declaration

    Objective-C

    PSPDFUndoCoalescingTimed

    Swift

    case timed = 1
  • Puts all subsequent changes to one key into the same group. This means that constant changes of the same value will result in exactly one event, which restores the property to its initial value.

    Declaration

    Objective-C

    PSPDFUndoCoalescingAll

    Swift

    case all = 2