Skip to content

CoreGraphics macOS xcode26.0 b3

Rolf Bjarne Kvinge edited this page Jul 9, 2025 · 1 revision

#CoreGraphics.framework

diff -ruN /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h
--- /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h	2025-06-17 09:40:33
+++ /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h	2025-07-01 06:55:41
@@ -69,6 +69,7 @@
 CG_EXTERN CGGradientRef __nullable CGGradientCreateWithContentHeadroom(
     float headroom, CGColorSpaceRef cg_nullable space, const CGFloat * cg_nullable components,
     const CGFloat * __nullable locations, size_t count)
+    CF_SWIFT_NAME(CGGradient.init(headroom:colorSpace:colorComponents:locations:count:))
     API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
 
 /* Creates a gradient by pairing the colors provided in `colors' with the
@@ -112,6 +113,7 @@
   Gradient's content headroom is a maximum headroom of HDR colors used by the gradient. */
 
 CG_EXTERN float CGGradientGetContentHeadroom(CGGradientRef cg_nullable gradient)
+   CF_SWIFT_NAME(getter:CGGradient.contentHeadroom(self:))
    API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
 
 CF_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFWrappedObject.h /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFWrappedObject.h
--- /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFWrappedObject.h	2025-06-13 10:41:39
+++ /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFWrappedObject.h	1970-01-01 01:00:00
@@ -1,40 +0,0 @@
-//
-//  CGPDFWrappedObject.h
-//  CoreGraphics
-//
-//  Copyright © 2024 Apple. All rights reserved.
-//
-
-#ifndef CGPDFWRAPPEDOBJECT_H_
-#define CGPDFWRAPPEDOBJECT_H_
-
-#include <CoreFoundation/CFBase.h>
-#include <CoreFoundation/CFAvailability.h>
-#include <CoreGraphics/CGPDFObject.h>
-#include <CoreGraphics/CGPDFString.h>
-#include <CoreGraphics/CGPDFArray.h>
-#include <CoreGraphics/CGPDFDictionary.h>
-#include <CoreGraphics/CGPDFStream.h>
-
-/// CGPDFWrappedObject is used to add a PDF object to a CGPDFArray or CGPDFDictionary.
-
-typedef struct CF_BRIDGED_TYPE(id) CGPDFWrappedObject *CGPDFWrappedObjectRef;
-
-CF_IMPLICIT_BRIDGING_ENABLED
-
-CF_ASSUME_NONNULL_BEGIN
-
-CG_EXTERN CGPDFWrappedObjectRef CGPDFWrappedObjectCreateWithBoolean(CGPDFBoolean value);
-CG_EXTERN CGPDFWrappedObjectRef CGPDFWrappedObjectCreateWithInteger(CGPDFInteger value);
-CG_EXTERN CGPDFWrappedObjectRef CGPDFWrappedObjectCreateWithReal(CGPDFReal value);
-CG_EXTERN CGPDFWrappedObjectRef CGPDFWrappedObjectCreateWithName(const char *value);
-CG_EXTERN CGPDFWrappedObjectRef CGPDFWrappedObjectCreateWithString(CGPDFStringRef value);
-CG_EXTERN CGPDFWrappedObjectRef CGPDFWrappedObjectCreateWithArray(CGPDFArrayRef value);
-CG_EXTERN CGPDFWrappedObjectRef CGPDFWrappedObjectCreateWithDictionary(CGPDFDictionaryRef value);
-CG_EXTERN CGPDFWrappedObjectRef CGPDFWrappedObjectCreateWithStream(CGPDFStreamRef value);
-
-CF_ASSUME_NONNULL_END
-
-CF_IMPLICIT_BRIDGING_DISABLED
-
-#endif /* CGPDFWRAPPEDOBJECT_H_ */
diff -ruN /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h
--- /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h	2025-06-17 09:28:51
+++ /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h	2025-07-01 23:26:27
@@ -58,6 +58,7 @@
 CG_EXTERN CGShadingRef __nullable CGShadingCreateAxialWithContentHeadroom(
     float headroom, CGColorSpaceRef cg_nullable space, CGPoint start, CGPoint end,
     CGFunctionRef cg_nullable function, bool extendStart, bool extendEnd)
+    CF_SWIFT_NAME(CGShading.init(axialHeadroom:space:start:end:function:extendStart:extendEnd:))
     API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
 
 /* Create a shading defining a color blend which varies between two circles.
@@ -94,6 +95,7 @@
     float headroom, CGColorSpaceRef cg_nullable space,
     CGPoint start, CGFloat startRadius, CGPoint end, CGFloat endRadius,
     CGFunctionRef cg_nullable function, bool extendStart, bool extendEnd)
+    CF_SWIFT_NAME(CGShading.init(radialHeadroom:space:start:startRadius:end:endRadius:function:extendStart:extendEnd:))
     API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
 
 /* Equivalent to `CFRetain(shading)', except it doesn't crash (as CFRetain
@@ -111,6 +113,7 @@
 /* Return shading's content headroom, and return 0.0f if unknown or unspecified. */
 
 CG_EXTERN float CGShadingGetContentHeadroom(CGShadingRef cg_nullable shading)
+   CF_SWIFT_NAME(getter:CGShading.contentHeadroom(self:))
    API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
 
 
diff -ruN /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h
--- /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h	2025-06-13 10:41:39
+++ /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h	2025-07-01 06:55:39
@@ -37,7 +37,6 @@
 #include <CoreGraphics/CGPDFScanner.h>
 #include <CoreGraphics/CGPDFStream.h>
 #include <CoreGraphics/CGPDFString.h>
-#include <CoreGraphics/CGPDFWrappedObject.h>
 #include <CoreGraphics/CGPath.h>
 #include <CoreGraphics/CGPattern.h>
 #include <CoreGraphics/CGShading.h>
Clone this wiki locally