PSPDFSearchResultViewable

@protocol PSPDFSearchResultViewable <NSObject>

Protocol to integrate in a custom search result cell.

  • Configures the receiver to represent the passed in search result in the UI.

    Declaration

    Objective-C

    - (void)configureWithSearchResult:(nonnull PSPDFSearchResult *)searchResult;

    Swift

    func configure(with searchResult: PSPDFSearchResult)

    Parameters

    searchResult

    The search result to represent by the receiver.