The only way to redraw an annotation in Sierra seems to be to close and reopen the document (while previously a simple setNeedsDisplayInRect would suffice). Is this a bug or intentional crippling of PDFKit?
Also, why have the classes / methods related to annotations been deprecated within the PDFKit framework? Specifically, most of the methods of
PDFAnnotation and the following classes. No reason / alternative seems to be provided in the docs.
PDFAnnotationButtonWidget
PDFAnnotationChoiceWidget
PDFAnnotationCircle
PDFAnnotationFreeText
PDFAnnotationInk
PDFAnnotationLine
PDFAnnotationLink
PDFAnnotationMarkup
PDFAnnotationPopup
PDFAnnotationSquare
PDFAnnotationStamp
PDFAnnotationText
PDFAnnotationTextWidget