forked from xamarin/xamarin-macios
-
Notifications
You must be signed in to change notification settings - Fork 1
CoreGraphics tvOS xcode9 beta2
Vincent Dondain edited this page Jun 21, 2017
·
1 revision
#CoreGraphics.framework
diff -ruN /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h
--- /Applications/Xcode9-beta1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h 2017-05-20 01:58:09.000000000 -0400
+++ /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h 2017-06-09 18:24:06.000000000 -0400
@@ -213,8 +213,6 @@
CG_EXTERN CGColorSpaceRef CGColorSpaceCreateWithICCData(CFTypeRef cg_nullable data)
CG_AVAILABLE_STARTING(__MAC_10_12, __IPHONE_10_0);
-#define CGColorSpaceCreateWithICCProfile CGColorSpaceCreateWithICCData
-
/* Create an ICC-based color space. `nComponents' specifies the number of
color components in the color space defined by the ICC profile data. This
must match the number of components actually in the ICC profile, and must
@@ -331,8 +329,6 @@
CG_EXTERN CFDataRef __nullable CGColorSpaceCopyICCData(CGColorSpaceRef cg_nullable space)
CG_AVAILABLE_STARTING(__MAC_10_12, __IPHONE_10_0);
-#define CGColorSpaceCopyICCProfile CGColorSpaceCopyICCData
-
/* Return true if gamut of the RGB color space is greater than 85% of NTSC gamut */
CG_EXTERN bool CGColorSpaceIsWideGamutRGB(CGColorSpaceRef)
@@ -344,6 +340,17 @@
CG_EXTERN bool CGColorSpaceSupportsOutput(CGColorSpaceRef space)
CG_AVAILABLE_STARTING(__MAC_10_12, __IPHONE_10_0);
+/* Deprecated functions */
+
+/* Please use `CGColorSpaceCreateWithICCData' */
+CG_EXTERN CGColorSpaceRef __nullable CGColorSpaceCreateWithICCProfile(CFDataRef cg_nullable data)
+ CG_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_13, __IPHONE_2_0, __IPHONE_11_0);
+
+/* Please use `CGColorSpaceCopyICCData' */
+CG_EXTERN CFDataRef __nullable CGColorSpaceCopyICCProfile(CGColorSpaceRef cg_nullable space)
+ CG_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_13, __IPHONE_2_0, __IPHONE_11_0);
+
+
CF_ASSUME_NONNULL_END
CF_IMPLICIT_BRIDGING_DISABLED