PDFDocument
- (nullable PDFSelection *)selectionFromPage:(nonnull PDFPage *)startPage atPoint:(NSPoint)startPoint toPage:(nonnull PDFPage *)endPage atPoint:(NSPoint)endPoint withGranularity:(PDFSelectionGranularity)granularity;
It's more difficult than it used to be to find what changed in Apple SDKs. This page is automatically generated and shows what is new in PDFKit in the macOS 15.0 SDK.