Helpers

  • Coordinates appearance mode changes.

    This class will only update the PDF page rendering style.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFAppearanceModeManager : NSObject <PSPDFOverridable>

    Swift

    class PDFAppearanceModeManager : NSObject, Overridable
  • PSPDFBrightnessManager can be used to manage the screen idle timer.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFBrightnessManager : NSObject

    Swift

    class BrightnessManager : NSObject
  • Deprecated

    Deprecated in PSPDFKit 12.3 for iOS. Use the modern menu system instead.

    A block-based legacy menu item.

    Warning

    This class and the legacy menu system is deprecated. Use the modern menu system instead. Please see our Customizing Menus guide to learn more.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFMenuItem : UIMenuItem

    Swift

    class MenuItem : UIMenuItem
  • A navigation item that supports different values for certain properties for different view modes.

    PSPDFNavigationItem enables you to assign left and right bar button items based on the view mode, so that every view mode can have different bar button items displayed in the navigation bar. This navigation item and the corresponding view controller ensure that displayed bar button items are are updated correctly when the view mode changes.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFNavigationItem : UINavigationItem

    Swift

    class NavigationItem : UINavigationItem
  • The network indicator manager will track the number of currently open network request.

    See more

    Declaration

    Objective-C

    @protocol PSPDFNetworkActivityIndicatorManager <NSObject>

    Swift

    protocol NetworkActivityIndicatorManager : NSObjectProtocol
  • Controls text-to-speech features.

    Note

    This class can only be used from the main thread.

    Voice availability depends on user settings, platform and os version. High-quality voices might need to be manually downloaded https://support.apple.com/en-us/HT203077

    Voice selection uses [AVSpeechSynthesisVoice voiceWithLanguage:]. This will return enhanced quality voice if available, default quality otherwise.

    The Siri isn’t part of the voice selection list, Apple has “no plan to change” this. (rdar://42656565)

    See more

    Declaration

    Objective-C

    
    @interface PSPDFSpeechController : NSObject

    Swift

    class SpeechController : NSObject
  • A progress view/status HUD.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFStatusHUD : NSObject

    Swift

    class StatusHUD : NSObject
  • Implement in your UIViewController subclass to be able to match the style of PDFViewController.

    See more

    Declaration

    Objective-C

    @protocol PSPDFStyleable <NSObject>

    Swift

    protocol Styleable : NSObjectProtocol
  • A layout similar to UICollectionViewFlowLayout with support for sticky headers and double-page spreads, as you’d use it for the thumbnails of a magazine.

    Note

    This layout only supports a single section. Using multiple sections is unsupported and may result in undefined behavior.

    Note

    This layout only supports a very limited horizontal scrolling mode which you can enable by setting the singleLineMode property to true.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFThumbnailFlowLayout : UICollectionViewLayout

    Swift

    class ThumbnailFlowLayout : UICollectionViewLayout
  • A helper that can be used to present a dialog, allowing the user to specify the annotation author name.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFUsernameHelper : NSObject

    Swift

    class UsernameHelper : NSObject
  • Defines what page(s) are currently visible.

    See more

    Declaration

    Objective-C

    @protocol PSPDFVisiblePagesDataSource <NSObject>

    Swift

    protocol VisiblePagesDataSource : NSObjectProtocol
  • Implement in your UIViewController subclass provide navigation image for PSPDFDocumentInfoController container.

    See more

    Declaration

    Objective-C

    @protocol PSPDFSegmentImageProviding <NSObject>

    Swift

    protocol SegmentImageProviding : NSObjectProtocol
  • Handles conflict resolution UI presentation in response to a PSPDFDocumentUnderlyingFileChangedNotification. Invokes the delegate to perform the selected conflict resolution option when done.

    Warning

    This class manages UI and it’s methods should only be used on the main thread.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFConflictResolutionManager : NSObject <PSPDFOverridable>

    Swift

    class ConflictResolutionManager : NSObject, Overridable
  • Protocol for gesture recognizers to indicate that they remember the starting point of the first touch event they receive.

    See more

    Declaration

    Objective-C

    @protocol PSPDFInitialStartingPointGesture

    Swift

    protocol InitialStartingPointGesture