PSPDFBookmarkViewControllerDelegate
Objective-C
@protocol PSPDFBookmarkViewControllerDelegate <NSObject>
Swift
protocol BookmarkViewControllerDelegate : NSObjectProtocol
Delegate for the bookmark controller.
-
Query the page that should be bookmarked when pressed the [+] button.
Declaration
Objective-C
- (NSUInteger)currentPageForBookmarkViewController: (nonnull PSPDFBookmarkViewController *)bookmarkController;
Swift
func currentPage(for bookmarkController: BookmarkViewController) -> UInt
-
Called when a cell is touched.
Declaration
Objective-C
- (void)bookmarkViewController: (nonnull PSPDFBookmarkViewController *)bookmarkController didSelectBookmark:(nonnull PSPDFBookmark *)bookmark;
Swift
func bookmarkViewController(_ bookmarkController: BookmarkViewController, didSelect bookmark: Bookmark)