PSPDFSearchHighlightViewManagerDataSource

Objective-C

@protocol PSPDFSearchHighlightViewManagerDataSource <NSObject>

Swift

protocol SearchHighlightViewManagerDataSource : NSObjectProtocol

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

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

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL shouldHighlightSearchResults;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var visiblePageViews: [PDFPageView] { get }