-
Notifications
You must be signed in to change notification settings - Fork 516
CoreFoundation watchOS xcode14.0 beta1
Alex Soto edited this page Jun 7, 2022
·
3 revisions
#CoreFoundation.framework
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h 2022-02-23 07:56:09.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h 2022-05-31 14:52:06.000000000 -0400
@@ -720,5 +720,6 @@
CF_EXTERN_C_END
+#include <CoreFoundation/CFCGTypes.h>
#endif /* ! __COREFOUNDATION_CFBASE__ */
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCGTypes.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCGTypes.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCGTypes.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCGTypes.h 2022-05-21 04:52:45.000000000 -0400
@@ -0,0 +1,95 @@
+/* CFCGTypes.h
+ Copyright (c) 1998-2021, Apple Inc. and the Swift project authors
+
+ Portions Copyright (c) 2014-2021, Apple Inc. and the Swift project authors
+ Licensed under Apache License v2.0 with Runtime Library Exception
+ See http://swift.org/LICENSE.txt for license information
+ See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
+*/
+
+#if !defined(__COREFOUNDATION_CFCGTYPES__)
+#define __COREFOUNDATION_CFCGTYPES__ 1
+
+#include <CoreFoundation/CFBase.h>
+#include <CoreFoundation/CFAvailability.h>
+#include <float.h>
+#include <stdint.h>
+
+#define CF_DEFINES_CG_TYPES
+
+#if defined(__has_attribute) && __has_attribute(objc_boxable)
+# define CF_BOXABLE __attribute__((objc_boxable))
+#else
+# define CF_BOXABLE
+#endif
+
+/* Definition of `CGFLOAT_TYPE', `CGFLOAT_IS_DOUBLE', `CGFLOAT_MIN', and
+ * `CGFLOAT_MAX'. */
+
+ #if defined(__LP64__) && __LP64__
+ # define CGFLOAT_TYPE double
+ # define CGFLOAT_IS_DOUBLE 1
+ # define CGFLOAT_MIN DBL_MIN
+ # define CGFLOAT_MAX DBL_MAX
+ # define CGFLOAT_EPSILON DBL_EPSILON
+ #else
+ # define CGFLOAT_TYPE float
+ # define CGFLOAT_IS_DOUBLE 0
+ # define CGFLOAT_MIN FLT_MIN
+ # define CGFLOAT_MAX FLT_MAX
+ # define CGFLOAT_EPSILON FLT_EPSILON
+ #endif
+
+/* Definition of the `CGFloat' type and `CGFLOAT_DEFINED'. */
+
+typedef CGFLOAT_TYPE CGFloat;
+#define CGFLOAT_DEFINED 1
+
+/* Points. */
+struct
+CGPoint {
+ CGFloat x;
+ CGFloat y;
+};
+typedef struct CF_BOXABLE CGPoint CGPoint;
+
+/* Sizes. */
+
+struct CGSize {
+ CGFloat width;
+ CGFloat height;
+};
+typedef struct CF_BOXABLE CGSize CGSize;
+
+/* Vectors. */
+
+#define CGVECTOR_DEFINED 1
+
+struct CGVector {
+ CGFloat dx;
+ CGFloat dy;
+};
+typedef struct CF_BOXABLE CGVector CGVector;
+
+/* Rectangles. */
+
+struct CGRect {
+ CGPoint origin;
+ CGSize size;
+};
+typedef struct CF_BOXABLE CGRect CGRect;
+
+/* Rectangle edges. */
+
+typedef CF_CLOSED_ENUM(uint32_t, CGRectEdge) {
+ CGRectMinXEdge, CGRectMinYEdge, CGRectMaxXEdge, CGRectMaxYEdge
+};
+
+typedef struct CGAffineTransform CGAffineTransform;
+
+struct CGAffineTransform {
+ CGFloat a, b, c, d;
+ CGFloat tx, ty;
+};
+
+#endif /* ! __COREFOUNDATION_CFCGTYPES__ */
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h 2022-02-23 10:56:50.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h 2022-05-31 14:49:36.000000000 -0400
@@ -216,10 +216,10 @@
/* The following four functions copy the provided buffer into CFString's internal storage. */
CF_EXPORT
-CFStringRef CFStringCreateWithPascalString(CFAllocatorRef alloc, ConstStr255Param pStr, CFStringEncoding encoding);
+CFStringRef CFStringCreateWithPascalString(CFAllocatorRef alloc, ConstStr255Param pStr, CFStringEncoding encoding) CF_FORMAT_ARGUMENT(2);
CF_EXPORT
-CFStringRef CFStringCreateWithCString(CFAllocatorRef alloc, const char *cStr, CFStringEncoding encoding);
+CFStringRef CFStringCreateWithCString(CFAllocatorRef alloc, const char *cStr, CFStringEncoding encoding) CF_FORMAT_ARGUMENT(2);
/* The following takes an explicit length, and allows you to specify whether the data is an external format --- that is, whether to pay attention to the BOM character (if any) and do byte swapping if necessary
*/
@@ -247,10 +247,10 @@
APIs which might retain or copy the strings.
*/
CF_EXPORT
-CFStringRef CFStringCreateWithPascalStringNoCopy(CFAllocatorRef alloc, ConstStr255Param pStr, CFStringEncoding encoding, CFAllocatorRef contentsDeallocator);
+CFStringRef CFStringCreateWithPascalStringNoCopy(CFAllocatorRef alloc, ConstStr255Param pStr, CFStringEncoding encoding, CFAllocatorRef contentsDeallocator) CF_FORMAT_ARGUMENT(2);
CF_EXPORT
-CFStringRef CFStringCreateWithCStringNoCopy(CFAllocatorRef alloc, const char *cStr, CFStringEncoding encoding, CFAllocatorRef contentsDeallocator);
+CFStringRef CFStringCreateWithCStringNoCopy(CFAllocatorRef alloc, const char *cStr, CFStringEncoding encoding, CFAllocatorRef contentsDeallocator) CF_FORMAT_ARGUMENT(2);
/* The following takes an explicit length, and allows you to specify whether the data is an external format --- that is, whether to pay attention to the BOM character (if any) and do byte swapping if necessary
*/
@@ -266,7 +266,7 @@
CFStringRef CFStringCreateWithSubstring(CFAllocatorRef alloc, CFStringRef str, CFRange range);
CF_EXPORT
-CFStringRef CFStringCreateCopy(CFAllocatorRef alloc, CFStringRef theString);
+CFStringRef CFStringCreateCopy(CFAllocatorRef alloc, CFStringRef theString) CF_FORMAT_ARGUMENT(2);
/* These functions create a CFString from the provided printf-like format string and arguments.
*/
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h 2022-02-16 00:23:21.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h 2022-05-21 04:52:45.000000000 -0400
@@ -47,6 +47,7 @@
#include <CoreFoundation/CFBitVector.h>
#include <CoreFoundation/CFByteOrder.h>
#include <CoreFoundation/CFCalendar.h>
+#include <CoreFoundation/CFCGTypes.h>
#include <CoreFoundation/CFCharacterSet.h>
#include <CoreFoundation/CFData.h>
#include <CoreFoundation/CFDate.h>
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status