PendingUndoRecorder
Swift
@objc(PSPDFPendingUndoRecorder)
public protocol PendingUndoRecorder
A type of recorder that has begun recording actions and is waiting to be manually committed.
PSPDF_EXPORT(PSPDFPendingUndoRecorder)
-
Commit all recorded actions so far to the parent undo recorder or undo controller.
Precondition
Committing an already committed recorder is not allowed and will result in an assertion failure.Declaration
Swift
func commit()