Helpers

  • Allows to manage device brightness. Includes additional software dimming to make the screen extra dark.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFBrightnessManager : NSObject

    Swift

    class PSPDFBrightnessManager : NSObject
  • This subclass adds support for a block-based action on UIMenuItem. If you are as annoyed about the missing target/action pattern, you will love this.

    If you use PSPDFMenuItem with the classic initWithTitle:selector: initializer, this will work and be handled just like a regular UIMenuItem.

    Warning

    By design, PSPDFMenuItem will only work with different title names. Title is required to be > 0 and unique, even when images are used. If you also use identifier then it is sufficient for the combined string to be unique.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFMenuItem : UIMenuItem

    Swift

    class PSPDFMenuItem : UIMenuItem
  • PSPDFNavigationItem handles the left and right bar button items for different view modes.

    This type of navigation item 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.

    The 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 PSPDFNavigationItem : UINavigationItem
  • The network indicator manager will track the number of currently open network request.

    See more

    Declaration

    Objective-C

    @protocol PSPDFNetworkActivityIndicatorManager <NSObject>

    Swift

    protocol PSPDFNetworkActivityIndicatorManager : NSObjectProtocol
  • This class validates digital signatures in a PDF document. Validation consists of two steps: Checking that the signature integrity is correct (that is, the document was not modified after it was signed), and ensuring that the chain of certificates contained in the signature is trusted.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFSignatureValidator : NSObject

    Swift

    class PSPDFSignatureValidator : NSObject
  • Controls text-to-speech features. - note: This class can only be used from the main thread.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFSpeechController : NSObject

    Swift

    class PSPDFSpeechController : NSObject
  • A globally usable progress view/status HUD.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFStatusHUD : NSObject

    Swift

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

    See more

    Declaration

    Objective-C

    @protocol PSPDFStyleable <NSObject>

    Swift

    protocol PSPDFStyleable : 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 YES.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFThumbnailFlowLayout : UICollectionViewLayout

    Swift

    class PSPDFThumbnailFlowLayout : 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 PSPDFUsernameHelper : NSObject
  • Defines what page(s) are currently visible.

    See more

    Declaration

    Objective-C

    @protocol PSPDFVisiblePagesDataSource <NSObject>

    Swift

    protocol PSPDFVisiblePagesDataSource : NSObjectProtocol