PSPDFCoordinatedFileDataProviding

@protocol PSPDFCoordinatedFileDataProviding <PSPDFFileDataProviding>

File-based data providers that support file coordination (NSFileCoordinator).

  • The data provider’s file presenter. If the data provider implements NSFilePresenter itself, then return self. The data provider’s fileURL is expected to be the same as the file presenter’s presentedItemURL.

    Declaration

    Objective-C

    @property (readonly, nonatomic) id<NSFilePresenter> _Nonnull filePresenter;

    Swift

    var filePresenter: NSFilePresenter { get }
  • A data provider implementation may notify this delegate of NSFilePresenter-like notifications when the underlying file is updated. This property is set internally by PSPDFKit and should not be set otherwise.

    Declaration

    Objective-C

    @property (readwrite, nonatomic)
        id<PSPDFFileCoordinationDelegate> _Nullable coordinationDelegate;