PSPDFVisiblePagesDataSource

Objective-C

@protocol PSPDFVisiblePagesDataSource <NSObject>

Swift

protocol VisiblePagesDataSource : NSObjectProtocol

Defines what page(s) are currently visible.

  • The first page of the spread currently being displayed.

    Declaration

    Objective-C

    @property (nonatomic, readonly) PSPDFPageIndex pageIndex;

    Swift

    var pageIndex: PageIndex { get }
  • All visible page indexes.

    Declaration

    Objective-C

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

    Swift

    var visiblePageIndexes: IndexSet { get }