NSValue(PSPDFModel)

Objective-C

@interface NSValue (PSPDFModel)

Extends NSValue to deal with PSPDFDrawingPoint.

  • Creates a new value object containing the specified drawing point structure.

    Declaration

    Objective-C

    + (nonnull NSValue *)pspdf_valueWithDrawingPoint:(PSPDFDrawingPoint)point;

    Swift

    class func valueWithDrawingPoint(_ point: DrawingPoint) -> NSValue
  • Returns the drawing point structure representation of the value.

    Declaration

    Objective-C

    @property (nonatomic, readonly) PSPDFDrawingPoint pspdf_drawingPointValue;

    Swift

    var drawingPointValue: DrawingPoint { get }