Skip to content

PDFKit iOS xcode15.0 b2

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

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

diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFKitPlatform.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFKitPlatform.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFKitPlatform.h	2023-05-25 00:15:39
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFKitPlatform.h	2023-06-10 04:26:20
@@ -79,6 +79,9 @@
 #define PDFEdgeInsetsZero                                       NSEdgeInsetsZero
 #define PDFTrackingRunLoopMode                                  NSEventTrackingRunLoopMode
 
+// Font Weights
+#define PDFKitPlatformFontWeightRegular                         NSFontWeightRegular
+
 #elif (TARGET_OS_SIMULATOR || TARGET_OS_IPHONE || TARGET_OS_MACCATALYST)
 
 // iOS Headers
@@ -127,6 +130,9 @@
 #define PDFRectZero                                             CGRectZero
 #define PDFEdgeInsetsZero                                       UIEdgeInsetsZero
 #define PDFTrackingRunLoopMode                             UITrackingRunLoopMode
+
+// Font Weights
+#define PDFKitPlatformFontWeightRegular                         UIFontWeightRegular
 
 #else
 
Clone this wiki locally