PSPDFAnnotationGridViewController


@interface PSPDFAnnotationGridViewController
    : PSPDFBaseViewController <PSPDFStyleable>

Allows saving/loading of stored annotations. Annotations are stored securely in the keychain.

  • To make custom buttons.

    Declaration

    Objective-C

    - (void)close:(nullable id)sender;

    Swift

    func close(_ sender: Any?)
  • Customize cell configuration.

    Declaration

    Objective-C

    - (void)configureCell:(nonnull PSPDFAnnotationSetCell *)annotationSetCell
             forIndexPath:(nonnull NSIndexPath *)indexPath;

    Swift

    func configureCell(_ annotationSetCell: PSPDFAnnotationSetCell, for indexPath: IndexPath)
  • Internally used collection view.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) UICollectionView *collectionView;

    Swift

    var collectionView: NSCollectionView? { get }
  • Trigger popover size recalculation.

    Declaration

    Objective-C

    - (void)updatePopoverSize;

    Swift

    func updatePopoverSize()