Skip to content

CoreGraphics iOS xcode14.0 beta4

Manuel de la Pena edited this page Sep 1, 2022 · 3 revisions

#CoreGraphics.framework https://github.com/xamarin/xamarin-macios/pull/15831

diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h	2022-06-30 22:07:39.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h	2022-07-22 09:59:11.000000000 -0400
@@ -158,16 +158,14 @@
  *  @return A decomposed set of geometric operations, the product of which is the CGAffineTransform.  */
 CG_EXTERN
  CGAffineTransformComponents CG_PURE CGAffineTransformDecompose( CGAffineTransform transform )
-CF_SWIFT_NAME(CGAffineTransformComponents.decomposed(self:))
-CG_AVAILABLE_STARTING( 13.0, 16.0 );
+CF_REFINED_FOR_SWIFT CG_AVAILABLE_STARTING( 13.0, 16.0 );
 
 /*! @abstract Create CGAffineTransform from scale * shear * rotation * translation CGAffineTransformComponents
  *  @param components        The set of CGAffineTransformComponents to use to create a new CGAffineTransform
  *  @return A new CGAffineTransform built from the provided components  */
 CG_EXTERN
  CGAffineTransform CG_PURE CGAffineTransformMakeWithComponents( CGAffineTransformComponents components )
-CF_SWIFT_NAME(CGAffineTransformComponents.init(_:))
-CG_AVAILABLE_STARTING( 13.0, 16.0 );
+CF_REFINED_FOR_SWIFT CG_AVAILABLE_STARTING( 13.0, 16.0 );
 
 /*** Definitions of inline functions. ***/
 
diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h	2022-06-30 09:31:14.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h	2022-07-25 15:36:06.000000000 -0400
@@ -65,11 +65,11 @@
 } CG_AVAILABLE_STARTING(10.0, 2.0);
 
 #ifdef __BIG_ENDIAN__
-# define kCGBitmapByteOrder16Host kCGBitmapByteOrder16Big
-# define kCGBitmapByteOrder32Host kCGBitmapByteOrder32Big
+static const CGBitmapInfo kCGBitmapByteOrder16Host = kCGBitmapByteOrder16Big;
+static const CGBitmapInfo kCGBitmapByteOrder32Host = kCGBitmapByteOrder32Big;
 #else    /* Little endian. */
-# define kCGBitmapByteOrder16Host kCGBitmapByteOrder16Little
-# define kCGBitmapByteOrder32Host kCGBitmapByteOrder32Little
+static const CGBitmapInfo kCGBitmapByteOrder16Host = kCGBitmapByteOrder16Little;
+static const CGBitmapInfo kCGBitmapByteOrder32Host = kCGBitmapByteOrder32Little;
 #endif
 
 /* Return the CFTypeID for CGImageRefs. */
diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes	2022-06-25 01:42:49.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes	2022-07-17 18:24:10.000000000 -0400
@@ -1239,6 +1239,8 @@
 # CGContext
 - Name: kCGBlendModeXOR
   SwiftName: CGBlendMode.xor
+- Name: kCGBitmapByteOrderDefault
+  SwiftName: byteOrderDefault
 # CGEventTypes
 - Name: kCGEventMouseSubtypeDefault
   SwiftName: CGEventMouseSubtype.defaultType
Clone this wiki locally