Skip to content

Foundation tvOS xcode16.3 b3

Rolf Bjarne Kvinge edited this page Mar 18, 2025 · 2 revisions

#Foundation.framework

diff -ruN /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode_16.3.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h
--- /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h	2025-02-22 09:20:40
+++ /Applications/Xcode_16.3.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h	2025-03-12 06:26:40
@@ -45,6 +45,9 @@
     NSFormattingUnitStyleLong,
 } API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
 
+// NSFormatter does not specify if it is Sendable. Subclasses should annotate themselves.
+// This allows subclasses to declare sendable conformances without requiring that all subclasses must be sendable
+NS_HEADER_AUDIT_END(sendability)
 @interface NSFormatter : NSObject <NSCopying, NSCoding>
 
 - (nullable NSString *)stringForObjectValue:(nullable id)obj;
@@ -61,5 +64,6 @@
 - (BOOL)isPartialStringValid:(NSString * _Nonnull * _Nonnull)partialStringPtr proposedSelectedRange:(nullable NSRangePointer)proposedSelRangePtr originalString:(NSString *)origString originalSelectedRange:(NSRange)origSelRange errorDescription:(NSString * _Nullable * _Nullable)error;
 
 @end
+NS_HEADER_AUDIT_BEGIN(sendability)
 
 NS_HEADER_AUDIT_END(nullability, sendability)

Clone this wiki locally