Search

  • Represents a single character (glyph, quad) on the PDF page.

    Note

    Glyphs are created from the PDF contents and not meant to be created manually.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFGlyph : NSObject <NSCopying, NSSecureCoding>

    Swift

    class Glyph : NSObject, NSCopying, NSSecureCoding
  • Defines the position if an image in the PDF.

    Note

    This class should not be manually instantiated. Use PSPDFTextParser to fetch images.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFImageInfo : NSObject <NSCopying, NSSecureCoding>

    Swift

    class ImageInfo : NSObject, NSCopying, NSSecureCoding
  • Represents an immutable search result from PSPDFTextSearch

    See more

    Declaration

    Objective-C

    
    @interface PSPDFSearchResult : PSPDFModel

    Swift

    class SearchResult : ModelObject
  • Represents multiple words forming a text block. (e.g. a Column)

    See more

    Declaration

    Objective-C

    
    @interface PSPDFTextBlock : NSObject <NSCopying, NSSecureCoding>

    Swift

    class TextBlock : NSObject, NSCopying, NSSecureCoding
  • Parses text and glyph data of a PDF page.

    Note

    Do not instantiate this class directly. Instead, use -[PSPDFDocument textParserForPageAtIndex:]. Properties are evaluated lazily and cached.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFTextParser : NSObject <PSPDFOverridable>

    Swift

    class TextParser : NSObject, Overridable
  • Manages search operations for a specific document. You can copy this class to be able to use it on your custom class. (and set a different delegate) Copying will preserve all settings except the delegate.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFTextSearch : NSObject <NSCopying, PSPDFOverridable>

    Swift

    class TextSearch : NSObject, NSCopying, Overridable
  • Represents a word. Formed out of (usually) multiple glyphs.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFWord : NSObject <NSCopying, NSSecureCoding>

    Swift

    class Word : NSObject, NSCopying, NSSecureCoding
  • PSPDFInlineSearchManager manages the presentation of a search bar that may be used to find text in a PSPDFDocument. The search bar sides down from the top, typically covering the navigation bar.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFInlineSearchManager : NSObject <PSPDFOverridable>

    Swift

    class InlineSearchManager : NSObject, Overridable
  • Highlight view used to show where the search keyword is within the document.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFSearchHighlightView
        : UIView <PSPDFAnnotationPresenting, PSPDFOverridable>

    Swift

    class SearchHighlightView : UIView, AnnotationPresenting, Overridable
  • Manages views added on PSPDFPageView.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFSearchHighlightViewManager : NSObject <PSPDFOverridable>

    Swift

    class SearchHighlightViewManager : NSObject, Overridable
  • The search view controller allows text and annotation searching within the current document. It notifies its delegate as results are loaded.

    Usually this is presented as a popover, but it also works modally.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFSearchViewController
        : PSPDFBaseTableViewController <
              UISearchDisplayDelegate, UISearchBarDelegate, PSPDFTextSearchDelegate,
              PSPDFStyleable, PSPDFOverridable>

    Swift

    class SearchViewController : BaseTableViewController, UISearchDisplayDelegate, UISearchBarDelegate, TextSearchDelegate, Styleable, Overridable