PTSettingsViewControllerDelegate
@protocol PTSettingsViewControllerDelegate <NSObject>
The methods declared by the PTSettingsViewControllerDelegate protocol allow the adopting class
to respond to messages from the PTSettingsViewController class.
-
Informs the delegate that the
PTPDFViewCtrlview mode was changed.Declaration
Objective-C
- (void)settingsViewControllerDidUpdateViewMode: (nonnull PTSettingsViewController *)settingsViewController;Swift
optional func settingsViewControllerDidUpdateViewMode(_ settingsViewController: PTSettingsViewController) -
Informs the delegate that the sticky toolbar setting was changed.
Declaration
Objective-C
- (void)settingsViewControllerDidUpdateStickyToolbar: (nonnull PTSettingsViewController *)settingsViewController;Swift
optional func settingsViewControllerDidUpdateStickyToolbar(_ settingsViewController: PTSettingsViewController) -
Informs the delegate that the thumbnails option was selected.
Declaration
Objective-C
- (void)settingsViewControllerDidSelectThumbnails: (nonnull PTSettingsViewController *)settingsViewController;Swift
optional func settingsViewControllerDidSelectThumbnails(_ settingsViewController: PTSettingsViewController) -
Informs the delegate that the clockwise rotation option was selected.
Declaration
Objective-C
- (void)settingsViewControllerDidRotateClockwise: (nonnull PTSettingsViewController *)settingsViewController;Swift
optional func settingsViewControllerDidRotateClockwise(_ settingsViewController: PTSettingsViewController) -
Informs the delegate that the counter-clockwise rotation option was selected.
Declaration
Objective-C
- (void)settingsViewControllerDidRotateCounterClockwise: (nonnull PTSettingsViewController *)settingsViewController;Swift
optional func settingsViewControllerDidRotateCounterClockwise(_ settingsViewController: PTSettingsViewController) -
Informs the delegate that the night mode option was toggled.
Declaration
Objective-C
- (void)settingsViewControllerDidToggleNightMode: (nonnull PTSettingsViewController *)settingsViewController;Swift
optional func settingsViewControllerDidToggleNightMode(_ settingsViewController: PTSettingsViewController) -
Asks the delegate if the
PTPDFViewCtrlis currently in night mode.Declaration
Objective-C
- (BOOL)viewerIsNightMode;Swift
optional func viewerIsNightMode() -> Bool
PTSettingsViewControllerDelegate Protocol Reference