PSPDFVisiblePagesDataSource

@protocol PSPDFVisiblePagesDataSource <NSObject>

Defines what page(s) are currently visible.

  • The first page of the spread currently being displayed.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSUInteger pageIndex;

    Swift

    var pageIndex: UInt { get }
  • All visible page indexes (wrapped as NSNumbers)

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSIndexSet *_Nonnull visiblePageIndexes;

    Swift

    var visiblePageIndexes: IndexSet { get }