PTNavigationHistoryManager

@interface PTNavigationHistoryManager : NSObject

- (instancetype)initWithPDFViewCtrl:(PTPDFViewCtrl *)pdfViewCtrl;
- (instancetype)init NS_UNAVAILABLE;

@property (nonatomic, strong) PTPDFViewCtrl *pdfViewCtrl;

@property (nonatomic, strong, nullable) PTPageLabelManager *pageLabelManager;

- (void)registerNavigationFromPageNumber:(int)fromPageNumber toPageNumber:(int)toPageNumber;

@property (nonatomic, readonly, strong) PTNavigationHistoryState *state;

@property (nonatomic, readonly, assign) BOOL canGoBack;
@property (nonatomic, readonly, assign) BOOL canGoForward;

- (void)goBack:(nullable id)sender;
- (void)goForward:(nullable id)sender;

- (void)clearNavigationHistory;

@end

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithPDFViewCtrl:(PTPDFViewCtrl *)pdfViewCtrl;

    Swift

    init(pdfViewCtrl: PTPDFViewCtrl)
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) PTPDFViewCtrl *pdfViewCtrl

    Swift

    var pdfViewCtrl: PTPDFViewCtrl { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) PTPageLabelManager *pageLabelManager

    Swift

    var pageLabelManager: PTPageLabelManager? { get set }
  • Undocumented

    Declaration

    Objective-C

    - (void)registerNavigationFromPageNumber:(int)fromPageNumber toPageNumber:(int)toPageNumber;

    Swift

    func registerNavigation(fromPageNumber: Int32, toPageNumber: Int32)
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly, strong) PTNavigationHistoryState *state

    Swift

    var state: PTNavigationHistoryState { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL canGoBack

    Swift

    var canGoBack: Bool { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL canGoForward

    Swift

    var canGoForward: Bool { get }
  • Undocumented

    Declaration

    Objective-C

    - (void)goBack:(nullable id)sender;

    Swift

    func goBack(_ sender: Any?)
  • Undocumented

    Declaration

    Objective-C

    - (void)goForward:(nullable id)sender;

    Swift

    func goForward(_ sender: Any?)
  • Undocumented

    Declaration

    Objective-C

    - (void)clearNavigationHistory;

    Swift

    func clearNavigationHistory()