PSPDFDocumentInfoCoordinatorDelegate
Objective-C
@protocol PSPDFDocumentInfoCoordinatorDelegate<NSObject>
@optional
/// Notifies the delegate that the `PSPDFDocumentInfoViewController` has discarded the pending changes
/// and the controller is no longer in edit mode.
///
/// @param infoCoordinator The coordinator.
/// @param infoViewController The `PSPDFDocumentInfoViewController` that cancelled the update.
- (void)documentInfoCoordinator:(PSPDFDocumentInfoCoordinator *)infoCoordinator infoViewControllerDidCancelDocumentInfoUpdate:(PSPDFDocumentInfoViewController *)infoViewController;
/// Notifies the delegate that the info view controller has applied the specified updates to the underlying document. Use this method to update the UI if required.
///
/// @param infoCoordinator The coordinator.
/// @param infoViewController The controller that applied the updates.
- (void)documentInfoCoordinator:(PSPDFDocumentInfoCoordinator *)infoCoordinator infoViewControllerDidCommitUpdates:(PSPDFDocumentInfoViewController *)infoViewController;
@end
Swift
protocol PSPDFDocumentInfoCoordinatorDelegate : NSObjectProtocol
Undocumented
-
Notifies the delegate that the
PSPDFDocumentInfoViewController
has discarded the pending changes and the controller is no longer in edit mode.Declaration
Objective-C
- (void)documentInfoCoordinator: (nonnull PSPDFDocumentInfoCoordinator *)infoCoordinator infoViewControllerDidCancelDocumentInfoUpdate: (nonnull PSPDFDocumentInfoViewController *)infoViewController;
Swift
optional func documentInfoCoordinator(_ infoCoordinator: DocumentInfoCoordinator, infoViewControllerDidCancelDocumentInfoUpdate infoViewController: PSPDFDocumentInfoViewController)
Parameters
infoCoordinator
The coordinator.
infoViewController
The
PSPDFDocumentInfoViewController
that cancelled the update. -
Notifies the delegate that the info view controller has applied the specified updates to the underlying document. Use this method to update the UI if required.
Declaration
Objective-C
- (void)documentInfoCoordinator: (nonnull PSPDFDocumentInfoCoordinator *)infoCoordinator infoViewControllerDidCommitUpdates: (nonnull PSPDFDocumentInfoViewController *)infoViewController;
Swift
optional func documentInfoCoordinator(_ infoCoordinator: DocumentInfoCoordinator, infoViewControllerDidCommitUpdates infoViewController: PSPDFDocumentInfoViewController)
Parameters
infoCoordinator
The coordinator.
infoViewController
The controller that applied the updates.