Assisting Views

  • Scroll view subclass that listens to keyboard and half modal events and moves itself up accordingly.

    Note

    delegate also queries methods listed in PSPDFAvoidingScrollViewDelegate.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFAvoidingScrollView : UIScrollView

    Swift

    class AvoidingScrollView : UIScrollView
  • A collection of useful extensions to UIButton.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFButton : UIButton

    Swift

    class PDFButton : UIButton
  • Base class to show a semi-transparent, rounded label.

    You can use UIAppearance to customize the main properties.

    [PSPDFLabelView appearance].labelStyle = PSPDFLabelStyleFlat;
    [PSPDFLabelView appearance].backgroundColor = [UIColor colorWithWhite:0.1 alpha:0.8];
    [PSPDFLabelView appearance].textColor = UIColor.whiteColor;
    

    Note

    The background color can be customized by setting the standard backgroundColor UIView property. If you want to customize the background color, it is recommended that you use PSPDFLabelStyleFlat, as using the blur effect with a non-translucent background color might produce unexpected results.

    If you are customizing this view, you might also want to apply similar changes to PSPDFBackForwardButton.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFLabelView : UIView

    Swift

    class PDFLabelView : UIView
  • A view that shows borders around selected annotations, with handles the user can use to resize the annotation. The handle and border color is determined by the tintColor property inherited from UIView.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFResizableView : UIView <PSPDFOverridable>

    Swift

    class ResizableView : UIView, Overridable
  • Simple rounded label.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFRoundedLabel : UILabel

    Swift

    class RoundedLabel : UILabel
  • Cell that shows a selection status.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFSelectableCollectionViewCell : UICollectionViewCell

    Swift

    class SelectableCollectionViewCell : UICollectionViewCell
  • Base class that shows centered labels and a spinner label.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFSpinnerCell : PSPDFTableViewCell

    Swift

    class PDFSpinnerCell : PDFTableViewCell
  • Base class for table views in PSPDFKit with various helpers. Enabled unlimited lines for textLabel and detailTextLabel.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFTableViewCell : UITableViewCell

    Swift

    class PDFTableViewCell : UITableViewCell
  • Displays progress indication with a title.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFProgressLabelView : UIView

    Swift

    class ProgressLabelView : UIView