PSPDFAnnotationSetsCell


@interface PSPDFAnnotationSetsCell
    : PSPDFTableViewCell <UICollectionViewDelegate, UICollectionViewDataSource>

Shows multiple annotation sets within a table cell.

  • Allows PSPDFAnnotation or PSPDFAnnotationSet objects.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSArray *annotations;

    Swift

    var annotations: [Any]? { get set }
  • The internal collection view.

    Declaration

    Objective-C

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

    Swift

    var collectionView: UICollectionView { get }
  • The item border. Convenience setter for the internal flow layout.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat border;

    Swift

    var border: CGFloat { get set }
  • Called when the collection view selection changes.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) void (^)
        (PSPDFAnnotationSetsCell *_Nonnull) collectionViewUpdateBlock;

    Swift

    var collectionViewUpdateBlock: ((PSPDFAnnotationSetsCell) -> Void)? { get set }