PSPDFAnnotationCell


@interface PSPDFAnnotationCell : PSPDFNonAnimatingTableViewCell

Displays information about an annotation.

  • Calculates the size.

    Declaration

    Objective-C

    + (CGFloat)heightForAnnotation:(nonnull PSPDFAnnotation *)annotation
                       inTableView:(nonnull UITableView *)tableView;

    Swift

    class func height(for annotation: PSPDFAnnotation, in tableView: UITableView) -> CGFloat
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) UILabel *nameLabel

    Swift

    var nameLabel: UILabel { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) UILabel *dateAndUserLabel

    Swift

    var dateAndUserLabel: UILabel { get }
  • Style cell for disabled state

    Declaration

    Objective-C

    @property (getter=isDisabledStyle, assign, readwrite, nonatomic)
        BOOL disabledStyle;

    Swift

    var isDisabledStyle: Bool { get set }
  • The annotation that will be displayed.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable) PSPDFAnnotation *annotation;

    Swift

    var annotation: PSPDFAnnotation? { get set }