PSPDFAnnotationCell

Objective-C


@interface PSPDFAnnotationCell
    : PSPDFNonAnimatingTableViewCell <PSPDFOverridable>

Swift

class AnnotationCell : NonAnimatingTableViewCell, Overridable

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 (nonatomic, assign, unsafe_unretained, readwrite,
              getter=isDisabledStyle) BOOL disabledStyle;

    Swift

    var isDisabledStyle: Bool { get set }
  • The annotation that will be displayed. The setter may be overridden, but setting this property is not supported.

    Declaration

    Objective-C

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

    Swift

    var annotation: PSPDFAnnotation? { get set }