Thumbnails

  • A view that is suitable to display a (sticky) filtering interface for a collection view.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFCollectionReusableFilterView : UICollectionReusableView

    Swift

    class CollectionReusableFilterView : UICollectionReusableView
  • Common superclass for various collection view cells representing PDF pages.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFPageCell : UICollectionViewCell

    Swift

    class PDFPageCell : UICollectionViewCell
  • The page grabber is a view that provides an area on the screen where the user can swipe their finger to quickly skim through the pages.

    The page grabber itself is fully transparent, the knob the user can touch and drag around is represented by its grabberView property.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFPageGrabber : UIView
  • PDF thumbnail scrubber bar - similar to Apple Books.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFScrubberBar : UIView <PSPDFOverridable>

    Swift

    class ScrubberBar : UIView, Overridable
  • Bottom bar that shows a scrollable list of thumbnails.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFThumbnailBar
        : UICollectionView <UICollectionViewDataSource, UICollectionViewDelegate,
                            PSPDFOverridable>

    Swift

    class ThumbnailBar : UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate, Overridable
  • The thumbnail cell classed used for the thumbnail grid and thumbnail scroll bar.

    Note

    To modify the selection/highlight state, customize selectedBackgroundView.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFThumbnailGridViewCell : PSPDFPageCell <PSPDFOverridable>

    Swift

    class ThumbnailGridViewCell : PDFPageCell, Overridable
  • The thumbnail view controller.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFThumbnailViewController
        : UICollectionViewController <
              UICollectionViewDataSource, UICollectionViewDelegate,
              PSPDFViewModePresenter,
              PSPDFCollectionViewDelegateThumbnailFlowLayout, PSPDFOverridable>

    Swift

    class ThumbnailViewController : UICollectionViewController, UICollectionViewDataSource, UICollectionViewDelegate, ViewModePresenter, CollectionViewDelegateThumbnailFlowLayout, Overridable