Skip to content

Foundation tvOS xcode26.0 b1

Alex Soto edited this page Jun 9, 2025 · 1 revision

#Foundation.framework

diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h	2025-04-19 04:36:45
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h	2025-05-24 04:13:49
@@ -341,6 +341,11 @@
     NS_SWIFT_NAME(localizedNumberFormat)
     API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0));
 
+// an NSString representing the delimiter used when declaring the current list item
+FOUNDATION_EXTERN const NSAttributedStringKey NSListItemDelimiterAttributeName
+    NS_SWIFT_NAME(listItemDelimiter)
+    API_AVAILABLE(macos(26.0), ios(26.0), watchos(26.0), tvos(26.0), visionos(26.0));
+
 FOUNDATION_EXTERN
 const NSAttributedStringKey NSPresentationIntentAttributeName API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
 
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h	2025-04-19 03:29:41
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h	2025-05-24 02:35:03
@@ -38,7 +38,17 @@
 FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierIslamicTabular      API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
 // The Islamic Umm al-Qura calendar used in Saudi Arabia. This is based on astronomical calculation, instead of tabular behavior.
 FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierIslamicUmmAlQura    API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0));
-
+FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierBangla              API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
+FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierGujarati            API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
+FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierKannada             API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
+FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierMalayalam           API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
+FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierMarathi             API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
+FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierOdia                API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
+FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierTamil               API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
+FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierTelugu              API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
+FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierVikram              API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
+FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierDangi               API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
+FOUNDATION_EXPORT NSCalendarIdentifier const NSCalendarIdentifierVietnamese          API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
 
 typedef NS_OPTIONS(NSUInteger, NSCalendarUnit) {
         NSCalendarUnitEra                = kCFCalendarUnitEra,
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h	2025-04-19 04:23:55
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h	2025-05-24 04:13:49
@@ -148,7 +148,7 @@
 
 - (BOOL)scanDecimal:(nullable NSDecimal *)dcm
 #if defined(__swift__) // Deprecated for Swift only:
-    API_DEPRECATED_WITH_REPLACEMENT("scanDecimal()", macosx(10.0,10.15), ios(2.0,13.0), watchos(2.0,13.0), tvos(9.0,13.0))
+    API_DEPRECATED_WITH_REPLACEMENT("scanDecimal()", macosx(10.0,10.15), ios(2.0,13.0), watchos(2.0,27.0), tvos(9.0,13.0))
 #endif
     ;
 
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h	2025-04-19 02:37:42
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h	2025-05-23 05:12:38
@@ -72,12 +72,7 @@
 
 NS_SWIFT_SENDABLE
 API_AVAILABLE(macos(10.10), ios(8.0), watchos(2.0), tvos(9.0))
-@interface NSFileAccessIntent : NSObject {
-@private
-    NSURL *_url;
-    NSInteger _options;
-    BOOL _isRead;
-}
+@interface NSFileAccessIntent : NSObject
 + (instancetype)readingIntentWithURL:(NSURL *)url options:(NSFileCoordinatorReadingOptions)options;
 + (instancetype)writingIntentWithURL:(NSURL *)url options:(NSFileCoordinatorWritingOptions)options;
 @property (readonly, copy) NSURL *URL; // Use this URL within the accessor block. This property may change from its original value in response to actions from other writers.
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h	2025-04-19 02:44:54
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h	2025-05-24 02:35:04
@@ -12,7 +12,7 @@
 #import <CoreFoundation/CFBase.h>
 #import <dispatch/dispatch.h>
 
-@class NSArray<ObjectType>, NSData, NSDate, NSDirectoryEnumerator<ObjectType>, NSError, NSNumber, NSFileProviderService, NSXPCConnection, NSLock;
+@class NSArray<ObjectType>, NSData, NSDate, NSDirectoryEnumerator<ObjectType>, NSError, NSNumber, NSFileProviderService, NSXPCConnection, NSLock, NSFileVersion;
 @protocol NSFileManagerDelegate;
 
 typedef NSString * NSFileAttributeKey NS_TYPED_EXTENSIBLE_ENUM;
@@ -323,6 +323,73 @@
     If you don't need the container URL and just want to check if ubiquity containers are available you should use this method instead of checking -URLForUbiquityContainerIdentifier:.
 */
 @property (nullable, readonly, copy) id<NSObject,NSCopying,NSCoding> ubiquityIdentityToken API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
+
+/* Sync controls available on an item
+ */
+typedef NS_OPTIONS(NSUInteger, NSFileManagerSupportedSyncControls) {
+    /* Sync with the server can be paused on the item.
+     */
+    NSFileManagerSupportedSyncControlsPauseSync = 1 << 0,
+
+    /* File Provider supports failing an upload if the local version conflicts with the server version.
+     */
+    NSFileManagerSupportedSyncControlsFailUploadOnConflict = 1 << 1,
+} API_AVAILABLE(ios(26.0), macos(26.0), watchos(26.0), tvos(26.0), visionos(26.0));
+
+/* Asynchronously pauses the sync of an item at given URL. If the item is already paused, the pause will be considered successful. If the item is undergoing changes (sync up or sync down pending), the pause will fail with EBUSY and the app will have to wait for the state to have stabilized before retrying the pause.
+
+    The pause of the sync is independent from the calling app's lifecycle. The sync of a file will not be resumed if the app closes or crashes. It has to be explicitely resumed using: [NSFileManager resumeSyncForUbiquitousItemAtURL:withBehavior:completionHandler:].
+
+     Warning: To preserve the paused sync state of a file, the app should use document-level writing APIs such as NSFileWrapper or [NSFileManager replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:]. Using data-level writing APIs such as [NSString writeToFile:atomically:encoding:error:] or [NSData writeToFile:atomically:] will result in the file resuming its sync to the server.
+ */
+- (void)pauseSyncForUbiquitousItemAtURL:(NSURL *)url completionHandler:(void (NS_SWIFT_SENDABLE ^)(NSError * _Nullable error))completionHandler API_AVAILABLE(ios(26.0), macos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos, tvos);
+
+/* Behaviors available to resume the sync on an item.
+
+    Always using preserveLocalChanges or afterUploadWithFailOnConflict is strongly recommended to avoid any risk of dataloss. In order to avoid conflicted file states, use afterUploadWithFailOnConflict to apply the local version cleanly on the server before resuming.
+    The dropLocalChanges behavior should only be used when the app uses a side-channel to handle and merge conflicting changes on a file.
+ */
+typedef NS_ENUM(NSInteger, NSFileManagerResumeSyncBehavior) {
+    /* Resume the sync by trying to upload the local version of the file. If a newer version of the file is available on the server, the resume operation might create a conflict. To get out of a conflicted state, the app should use the NSFileVersion API to solve the conflicts
+     */
+    NSFileManagerResumeSyncBehaviorPreserveLocalChanges          = 0,
+    /* First upload the local version of the file with a failOnConflict policy. If it succeeds, resume the sync with the preserveLocalChanges behavior.
+     */
+    NSFileManagerResumeSyncBehaviorAfterUploadWithFailOnConflict = 1,
+    /* Resume the sync by overwriting any local changes with the remote version of the file. The local changes will be stored as an alternate version. This option shouldn't be used unless a side channel is used to merge conflicts.
+     */
+    NSFileManagerResumeSyncBehaviorDropLocalChanges              = 2,
+} API_AVAILABLE(ios(26.0), macos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos, tvos);
+
+/* Asynchronously resumes the sync on a paused file using the given resume behavior.
+ */
+- (void)resumeSyncForUbiquitousItemAtURL:(NSURL *)url withBehavior:(NSFileManagerResumeSyncBehavior)behavior completionHandler:(void (NS_SWIFT_SENDABLE ^)(NSError * _Nullable error))completionHandler API_AVAILABLE(ios(26.0), macos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos, tvos);
+
+/* Asynchronously fetches the latest remote version of a given item on the server and returns it in the completionHandler as a NSFileVersion.
+
+    If the sync of an item is not paused, the live file will be updated with the latest remote version and the NSFileVersion will be +[NSFileVersion currentVersionOfItemAtURL:].
+    If the sync of an item is paused and there are no changes on the server, the NSFileVersion will point at the live URL.
+    If the sync of an item is paused and there are newer changes on the server, the NSFileVersion will point to a side location. In that case, the app can use the NSFileVersion and -[NSFileVersion replaceItemAtURL:options:error:] to replace the live version.
+ */
+- (void)fetchLatestRemoteVersionOfItemAtURL:(NSURL *)url completionHandler:(void (NS_SWIFT_SENDABLE ^)(NSFileVersion * _Nullable latestRemoteVersion, NSError * _Nullable error))completionHandler API_AVAILABLE(ios(26.0), macos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos, tvos);
+
+/* Conflict resolution policies when uploading a local version of an item.
+ */
+typedef NS_ENUM(NSInteger, NSFileManagerUploadLocalVersionConflictPolicy) {
+    /* Solves a conflict using the provider-defined policy.
+     */
+    NSFileManagerUploadConflictPolicyDefault = 0,
+    /* Fails the upload with a NSFileProviderErrorLocalVersionConflictingWithServer underlying error if the version on top of which the local changes have been applied doesn't match the server version of the file.
+        If the server version of the file differs from the one on which the changes are based, the app will have to call [NSFileManager fetchLatestRemoteVersionOfItemAtURL:completionHandler:], rebase the local changes on top of the server version and try again.
+
+        Only available on paused items that have NSSupportsFailUploadOnConflict set to 1.
+    */
+    NSFileManagerUploadConflictPolicyFailOnConflict = 1,
+} API_AVAILABLE(ios(26.0), macos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos, tvos);
+
+/*  Asynchronously uploads the local version of the paused item using the provided conflict resolution policy. If the upload succeeds, the uploaded NSFileVersion is sent back in the completionHandler. If the item is not paused, the call will fail with NSFeatureUnsupportedError.
+*/
+- (void)uploadLocalVersionOfUbiquitousItemAtURL:(NSURL *)url withConflictResolutionPolicy:(NSFileManagerUploadLocalVersionConflictPolicy)conflictResolutionPolicy completionHandler:(void (NS_SWIFT_SENDABLE ^)(NSFileVersion * _Nullable uploadedVersion, NSError * _Nullable error))completionHandler API_AVAILABLE(ios(26.0), macos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos, tvos);
 
 /* Asynchronously returns a dictionary of zero or more NSFileProviderService instances, which enable your application to instruct the file's provider to take various actions on or with regards to the given URL. To do this, first identify an NSFileProviderService object whose name matches the service you wish to use. Then get an NSXPCConnection from it and set up its NSXPCInterface with the protocol that matches the service's name. You'll need to refer to external documentation or an SDK supplied by the provider to get this information. Once an NSXPCConnection is obtained, you must finish configuring it and send it -resume. Failure to do so will result in leaking system resources.
  */
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h	2025-04-19 03:29:41
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h	2025-05-23 05:12:37
@@ -156,7 +156,7 @@
     distributed notification center whenever the accept cookies
     preference is changed
 */
-FOUNDATION_EXPORT NSNotificationName const NSHTTPCookieManagerAcceptPolicyChangedNotification API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0));
+FOUNDATION_EXPORT NSNotificationName const NSHTTPCookieManagerAcceptPolicyChangedNotification API_DEPRECATED("Notification is never posted", macos(10.2, 10.11), ios(2.0, 9.0), watchos(2.0, 2.0), tvos(9.0, 9.0), visionos(1.0, 1.0));
 
 /*!
     @const NSHTTPCookieManagerCookiesChangedNotification
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h	2025-04-19 03:29:42
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h	2025-05-24 01:22:11
@@ -114,7 +114,7 @@
 
 // Casts a CoreFoundation object to an Objective-C object, transferring ownership to ARC (ie. no need to CFRelease to balance a prior +1 CFRetain count). NS_RETURNS_RETAINED is used to indicate that the Objective-C object returned has +1 retain count.  So the object is 'released' as far as CoreFoundation reference counting semantics are concerned, but retained (and in need of releasing) in the view of ARC. This function is intended for use while converting to ARC mode only.
 NS_INLINE id _Nullable CFBridgingRelease(CFTypeRef CF_CONSUMED _Nullable X) NS_RETURNS_RETAINED {
-    return [(id)CFMakeCollectable(X) autorelease];
+    return [(id)X autorelease];
 }
 
 #endif
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h	2025-04-19 02:07:53
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h	2025-06-01 23:55:07
@@ -67,9 +67,9 @@
 
 @end
 
-FOUNDATION_EXPORT NSNotificationName const NSWillBecomeMultiThreadedNotification;
-FOUNDATION_EXPORT NSNotificationName const NSDidBecomeSingleThreadedNotification;
-FOUNDATION_EXPORT NSNotificationName const NSThreadWillExitNotification;
+FOUNDATION_EXPORT NSNotificationName const NSWillBecomeMultiThreadedNotification API_DEPRECATED("This notification does not protect against data races", macos(10.0, 26.0), ios(2.0, 26.0), watchos(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0));
+FOUNDATION_EXPORT NSNotificationName const NSDidBecomeSingleThreadedNotification API_DEPRECATED("Programs no longer transition to single-threaded mode from threaded environments", macos(10.0, 26.0), ios(2.0, 26.0), watchos(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0));
+FOUNDATION_EXPORT NSNotificationName const NSThreadWillExitNotification API_DEPRECATED("This notification does not protect against data races", macos(10.0, 26.0), ios(2.0, 26.0), watchos(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0));
 
 @interface NSObject (NSThreadPerformAdditions)
 
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h	2025-04-19 04:36:45
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h	2025-05-24 02:35:06
@@ -415,7 +415,10 @@
 FOUNDATION_EXPORT NSURLUbiquitousSharedItemPermissions const NSURLUbiquitousSharedItemPermissionsReadOnly     API_AVAILABLE(macosx(10.12), ios(10.0)) API_UNAVAILABLE(watchos, tvos); // the current user is only allowed to read this item
 FOUNDATION_EXPORT NSURLUbiquitousSharedItemPermissions const NSURLUbiquitousSharedItemPermissionsReadWrite    API_AVAILABLE(macosx(10.12), ios(10.0)) API_UNAVAILABLE(watchos, tvos); // the current user is allowed to both read and write this item
 
-/* Working with Bookmarks and alias (bookmark) files 
+FOUNDATION_EXPORT NSURLResourceKey const NSURLUbiquitousItemSupportedSyncControlsKey API_AVAILABLE(ios(26.0), macos(26.0), watchos(26.0), tvos(26.0), visionos(26.0)); // returns the read-only value of the NSFileManagerSupportedSyncControls options as a NSNumber.
+FOUNDATION_EXPORT NSURLResourceKey const NSURLUbiquitousItemIsSyncPausedKey API_AVAILABLE(ios(26.0), macos(26.0), watchos(26.0), tvos(26.0), visionos(26.0)); // returns a boolean.
+
+/* Working with Bookmarks and alias (bookmark) files
  */
 
 typedef NS_OPTIONS(NSUInteger, NSURLBookmarkCreationOptions) {
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h	2025-05-01 06:03:45
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h	2025-05-24 01:22:10
@@ -119,7 +119,7 @@
     @abstract This notification is sent on the main thread whenever
     the set of stored credentials changes.
 */
-FOUNDATION_EXPORT NSNotificationName const NSURLCredentialStorageChangedNotification API_AVAILABLE(macos(10.2), ios(2.0), watchos(2.0), tvos(9.0));
+FOUNDATION_EXPORT NSNotificationName const NSURLCredentialStorageChangedNotification API_DEPRECATED("Notification is never posted", macos(10.2, 10.14), ios(2.0, 12.0), watchos(2.0, 5.0), tvos(9.0, 12.0));
 
 /*
  *  NSURLCredentialStorageRemoveSynchronizableCredentials - (NSNumber value)
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h	2025-04-19 03:25:06
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h	2025-05-24 04:13:50
@@ -24,6 +24,7 @@
 typedef NSString * NSUndoManagerUserInfoKey NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(UndoManager.UserInfoKey) API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), watchos(11.0));
 
 API_AVAILABLE(macos(10.0), ios(3.0), watchos(2.0), tvos(9.0))
+NS_SWIFT_UI_ACTOR
 @interface NSUndoManager : NSObject
 
 /// Marks the beginning of an undo group.
@@ -157,7 +158,7 @@
 /// 
 /// - Parameter target: The target of the undo operation.
 /// - Parameter undoHandler: The block to be executed when an operation is undone. The block takes a single argument, the target of the undo operation.
-- (void)registerUndoWithTarget:(id)target handler:(void (NS_SWIFT_SENDABLE ^)(id target))undoHandler API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0)) NS_REFINED_FOR_SWIFT;
+- (void)registerUndoWithTarget:(id)target handler:(void (NS_SWIFT_UI_ACTOR ^)(id target))undoHandler API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0)) NS_REFINED_FOR_SWIFT;
 
 /// Sets whether the next undo or redo action is discardable.
 ///
@@ -200,7 +201,7 @@
 /// If actionName is an empty string, the action name currently associated with the menu command is removed. There is no effect if actionName is nil.
 /// 
 /// - Parameter actionName: The name of the action.
-- (void)setActionName:(NSString *)actionName;
+- (void)setActionName:(NSString *)actionName  __attribute__((swift_attr("@_disfavoredOverload")));
 
 /// Get a value from the undo action's user info
 ///
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h	2025-04-19 04:36:46
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h	2025-05-23 05:58:53
@@ -191,17 +191,17 @@
  
  This is not necessarily an error: ubiquitous defaults set when no iCloud user is logged in will be uploaded the next time one is available if configured to do so.
  */
-FOUNDATION_EXPORT NSNotificationName const NSUbiquitousUserDefaultsNoCloudAccountNotification API_AVAILABLE(ios(9.3), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
+FOUNDATION_EXPORT NSNotificationName const NSUbiquitousUserDefaultsNoCloudAccountNotification API_DEPRECATED("Notification is never posted", ios(9.3, 9.3), watchos(2.0, 2.0), tvos(9.0, 9.0)) API_UNAVAILABLE(macos);
 
 /*!
  NSUbiquitousUserDefaultsDidChangeAccountsNotification is posted on the main queue to the default notification center when the user changes the primary iCloud account. The keys and values in the local key-value store have been replaced with those from the new account, regardless of the relative timestamps.
  */
-FOUNDATION_EXPORT NSNotificationName const NSUbiquitousUserDefaultsDidChangeAccountsNotification API_AVAILABLE(ios(9.3), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
+FOUNDATION_EXPORT NSNotificationName const NSUbiquitousUserDefaultsDidChangeAccountsNotification API_DEPRECATED("Notification is never posted", ios(9.3, 9.3), watchos(2.0, 2.0), tvos(9.0, 9.0)) API_UNAVAILABLE(macos);
 
 /*!
  NSUbiquitousUserDefaultsCompletedInitialSyncNotification is posted on the main queue when ubiquitous defaults finish downloading the first time a device is connected to an iCloud account, and when a user switches their primary iCloud account.
  */
-FOUNDATION_EXPORT NSNotificationName const NSUbiquitousUserDefaultsCompletedInitialSyncNotification API_AVAILABLE(ios(9.3), watchos(2.0), tvos(9.0)) API_UNAVAILABLE(macos);
+FOUNDATION_EXPORT NSNotificationName const NSUbiquitousUserDefaultsCompletedInitialSyncNotification API_DEPRECATED("Notification is never posted", ios(9.3, 9.3), watchos(2.0, 2.0), tvos(9.0, 9.0)) API_UNAVAILABLE(macos);
 
 /*!
  NSUserDefaultsDidChangeNotification is posted whenever any user defaults changed within the current process, but is not posted when ubiquitous defaults change, or when an outside process changes defaults. Using key-value observing to register observers for the specific keys of interest will inform you of all updates, regardless of where they're from.
Clone this wiki locally