PSPDFAnnotationGridViewController
Objective-C
@interface PSPDFAnnotationGridViewController
: PSPDFBaseViewController <PSPDFStyleable>
Swift
class AnnotationGridViewController : PDFBaseViewController, Styleable
Shows a grid of annotations.
This is the superclass of PSPDFStampViewController
and PSPDFSavedAnnotationsViewController
and is not intended to be used directly.
-
Internally used collection view.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) UICollectionView *collectionView;
Swift
var collectionView: UICollectionView? { get }
-
Delegate.
Declaration
Objective-C
@property (nonatomic, weak) id<PSPDFAnnotationGridViewControllerDelegate> _Nullable delegate;
Swift
@IBOutlet weak var delegate: AnnotationGridViewControllerDelegate? { get set }
-
Data Source.
Declaration
Objective-C
@property (nonatomic, weak) id<PSPDFAnnotationGridViewControllerDataSource> _Nullable dataSource;
Swift
@IBOutlet weak var dataSource: AnnotationGridViewControllerDataSource? { get set }
-
Reloads from the dataSource.
-
To make custom buttons.
-
Customize cell configuration.
Declaration
Objective-C
- (void)configureCell:(nonnull PSPDFAnnotationSetCell *)annotationSetCell forIndexPath:(nonnull NSIndexPath *)indexPath;
Swift
func configureCell(_ annotationSetCell: PSPDFAnnotationSetCell, for indexPath: IndexPath)
-
Trigger popover size recalculation.