PSPDFSearchHighlightViewManagerDataSource

@protocol PSPDFSearchHighlightViewManagerDataSource <PSPDFOverridable>

The data source for the PSPDFSearchHighlightViewManager to coordinate animations and highlighting.

  • Control if we should add search highlight views at all.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL shouldHighlightSearchResults;

    Swift

    var shouldHighlightSearchResults: Bool { get }
  • Returns an array of PSPDFPageView objects.

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        NSArray<PSPDFPageView *> *_Nonnull visiblePageViews;

    Swift

    var visiblePageViews: [PSPDFPageView] { get }