Skip to content

Foundation iOS xcode16.0 b5

Alex Soto edited this page Aug 7, 2024 · 2 revisions

#Foundation.framework

diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h	2024-07-17 00:37:10
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h	2024-07-27 02:56:02
@@ -58,28 +58,28 @@
 FOUNDATION_EXPORT void NSDecimalCompact(NSDecimal *number);
 
 FOUNDATION_EXPORT NSComparisonResult NSDecimalCompare(const NSDecimal *leftOperand, const NSDecimal *rightOperand);
-    // NSDecimalCompare:Compares leftOperand and rightOperand.
+// NSDecimalCompare:Compares leftOperand and rightOperand.
 
 FOUNDATION_EXPORT void NSDecimalRound(NSDecimal *result, const NSDecimal *number, NSInteger scale, NSRoundingMode roundingMode);
-    // Rounds num to the given scale using the given mode.
-    // result may be a pointer to same space as num.
-    // scale indicates number of significant digits after the decimal point
+// Rounds num to the given scale using the given mode.
+// result may be a pointer to same space as num.
+// scale indicates number of significant digits after the decimal point
 
 FOUNDATION_EXPORT NSCalculationError NSDecimalNormalize(NSDecimal *number1, NSDecimal *number2, NSRoundingMode roundingMode);
 
 FOUNDATION_EXPORT NSCalculationError NSDecimalAdd(NSDecimal *result, const NSDecimal *leftOperand, const NSDecimal *rightOperand, NSRoundingMode roundingMode);
-    // Exact operations. result may be a pointer to same space as leftOperand or rightOperand
+// Exact operations. result may be a pointer to same space as leftOperand or rightOperand
 
 FOUNDATION_EXPORT NSCalculationError NSDecimalSubtract(NSDecimal *result, const NSDecimal *leftOperand, const NSDecimal *rightOperand, NSRoundingMode roundingMode);
-    // Exact operations. result may be a pointer to same space as leftOperand or rightOperand
+// Exact operations. result may be a pointer to same space as leftOperand or rightOperand
 
 FOUNDATION_EXPORT NSCalculationError NSDecimalMultiply(NSDecimal *result, const NSDecimal *leftOperand, const NSDecimal *rightOperand, NSRoundingMode roundingMode);
-    // Exact operations. result may be a pointer to same space as leftOperand or rightOperand
+// Exact operations. result may be a pointer to same space as leftOperand or rightOperand
 
 FOUNDATION_EXPORT NSCalculationError NSDecimalDivide(NSDecimal *result, const NSDecimal *leftOperand, const NSDecimal *rightOperand, NSRoundingMode roundingMode);
-    // Division could be silently inexact;
-    // Exact operations. result may be a pointer to same space as leftOperand or rightOperand
-    
+// Division could be silently inexact;
+// Exact operations. result may be a pointer to same space as leftOperand or rightOperand
+
 FOUNDATION_EXPORT NSCalculationError NSDecimalPower(NSDecimal *result, const NSDecimal *number, NSUInteger power, NSRoundingMode roundingMode);
 
 FOUNDATION_EXPORT NSCalculationError NSDecimalMultiplyByPowerOf10(NSDecimal *result, const NSDecimal *number, short power, NSRoundingMode roundingMode);
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h	2024-07-17 00:58:38
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h	2024-07-27 19:06:35
@@ -269,6 +269,12 @@
 #define __NS_HEADER_AUDIT_BEGIN_nullability _Pragma("clang assume_nonnull begin")
 #define __NS_HEADER_AUDIT_END_nullability   _Pragma("clang assume_nonnull end")
 
+#if __has_attribute(__swift_attr__) && __SWIFT_ATTR_SUPPORTS_SENDING
+#  define NS_SWIFT_SENDING __attribute__((swift_attr("sending")))
+#else
+#  define NS_SWIFT_SENDING
+#endif
+
 #if __SWIFT_ATTR_SUPPORTS_SENDABLE_DECLS
    // Indicates that the thing it is applied to should be imported as 'Sendable' in Swift:
    // * Type declarations are imported into Swift with a 'Sendable' conformance.
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h	2024-07-17 00:36:15
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h	2024-07-27 08:49:58
@@ -152,7 +152,7 @@
  * has been issued. 
  *
  * -finishTasksAndInvalidate and -invalidateAndCancel do not
- * have any effect on the shared session singleton.
+ * have any effect on the shared session instance.
  *
  * When invalidating a background session, it is not safe to create another background
  * session with the same identifier until URLSession:didBecomeInvalidWithError: has
@@ -716,8 +716,8 @@
  * created, a copy of the configuration object is made - you cannot
  * modify the configuration of a session after it has been created.
  *
- * The shared session uses the global singleton credential, cache
- * and cookie storage objects.
+ * The shared session uses the global credential, cache and cookie
+ * storage objects.
  *
  * An ephemeral session has no persistent disk storage for cookies,
  * cache or credentials.

Clone this wiki locally