Skip to content

PDFKit macOS xcode15.0 b1

Haritha Mohan edited this page Sep 8, 2023 · 3 revisions

#PDFKit.framework https://github.com/xamarin/xamarin-macios/pull/18974

diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFAnnotation.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFAnnotation.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFAnnotation.h	2023-03-09 19:10:12
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFAnnotation.h	2023-05-26 01:26:05
@@ -161,11 +161,7 @@
 
 // Optional (-[popup] may return nil). Not used with links or widgets, a popup annotation associated with this
 // annotation. The bounds and open state of the popup indicate the placement and open state of the popup window.
-#if defined( PDFKIT_PLATFORM_OSX )
-@property (nonatomic, strong, nullable) PDFAnnotationPopup *popup PDFKIT_AVAILABLE(10_5, 11_0);
-#else
 @property (nonatomic, strong, nullable) PDFAnnotation *popup PDFKIT_AVAILABLE(10_5, 11_0);
-#endif
 
 // Optional border or border style that describes how to draw the annotation border (if any). For the "geometry"
 // annotations (Circle, Ink, Line, Square), the border indicates the line width and whether to draw with a dash pattern
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFAnnotationUtilities.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFAnnotationUtilities.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFAnnotationUtilities.h	2023-03-09 19:10:11
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFAnnotationUtilities.h	2023-05-26 01:26:04
@@ -180,6 +180,10 @@
 // Used by annotations type(s): /Widget (field type(s): /Tx).
 @property (nonatomic, getter=isMultiline) BOOL multiline;
 
+// Returns whether an annotation is a /FreeText or a /Widget with field type /Tx
+// and the annotation is not hidden or read-only.
+@property (readonly, getter=isActivatableTextField) BOOL activatableTextField;
+
 // Used to determine if a PDF text field is a password field.
 // Used by annotations type(s): /Widget (field type(s): /Tx).
 @property (nonatomic, readonly) BOOL isPasswordField;
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFKitPlatform.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFKitPlatform.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFKitPlatform.h	2023-03-09 23:51:29
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFKitPlatform.h	2023-05-25 00:15:39
@@ -64,7 +64,7 @@
 #define PDFKitPlatformButtonCell                                NSButtonCell
 #define PDFKitPlatformAccessibilityElement                      NSAccessibilityElement
 #define PDFKitResponder                                         NSResponder
-#define PDFKitTextContentType                                   NSTextContentType
+#define PDFKitPlatformTextContentType                           NSTextContentType
 
 // Geometry types
 #define PDFPoint                                                NSPoint
@@ -113,7 +113,7 @@
 #define PDFKitPlatformButtonCell                                UICollectionViewCell
 #define PDFKitPlatformAccessibilityElement                      UIAccessibilityElement
 #define PDFKitResponder                                         UIResponder
-#define PDFKitTextContentType                                   UITextContentType
+#define PDFKitPlatformTextContentType                           UITextContentType
 
 // Geometry types
 #define PDFPoint                                                CGPoint
Clone this wiki locally