PSPDFDocumentInfoViewControllerDelegate
Objective-C
@protocol PSPDFDocumentInfoViewControllerDelegate
@optional
/// Notifies the delegate that the pending updates have been discarded and the controller is no longer
/// in edit mode.
///
/// @param infoController The `PSPDFDocumentInfoViewController` that cancelled the changes.
- (void)documentInfoViewControllerDidCancelUpdates:(PSPDFDocumentInfoViewController *)infoController;
/// Notifies the delegate that the updates have been applied to the underlying document.
///
/// @param infoController The `PSPDFDocumentInfoViewController` that applied the changes.
-(void)documentInfoViewControllerDidCommitUpdates:(PSPDFDocumentInfoViewController *)infoController;
@end
Swift
protocol PSPDFDocumentInfoViewControllerDelegate
Undocumented
-
Notifies the delegate that the pending updates have been discarded and the controller is no longer in edit mode.
Declaration
Objective-C
- (void)documentInfoViewControllerDidCancelUpdates: (nonnull PSPDFDocumentInfoViewController *)infoController;
Swift
optional func documentInfoViewControllerDidCancelUpdates(_ infoController: PDFDocumentInfoViewController)
Parameters
infoController
The
PSPDFDocumentInfoViewController
that cancelled the changes. -
Notifies the delegate that the updates have been applied to the underlying document.
Declaration
Objective-C
- (void)documentInfoViewControllerDidCommitUpdates: (nonnull PSPDFDocumentInfoViewController *)infoController;
Swift
optional func documentInfoViewControllerDidCommitUpdates(_ infoController: PDFDocumentInfoViewController)
Parameters
infoController
The
PSPDFDocumentInfoViewController
that applied the changes.