-
Notifications
You must be signed in to change notification settings - Fork 543
FileProvider iOS xcode26.0 b3
Rolf Bjarne Kvinge edited this page Jul 9, 2025
·
1 revision
#FileProvider.framework
diff -ruN /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h
--- /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h 2025-06-18 06:32:35
+++ /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h 2025-06-28 09:03:44
@@ -296,5 +296,23 @@
FOUNDATION_EXPORT NSNotificationName const NSFileProviderDomainDidChange
FILEPROVIDER_API_AVAILABILITY_V3_IOS;
+FILEPROVIDER_API_AVAILABILITY_SYNC_CONTROLS
+typedef NSString *NSFileProviderUserInfoKey NS_TYPED_EXTENSIBLE_ENUM;
+
+/**
+ System interpreted user info key
+ When setting a value to that user info on a domain, the system will ingest this value.
+ If user has given their consent for telemetry, this value will be used to decorate telemetry messages sent
+ by the FileProvider subsystem.
+ The telemetry messages can be then later on retrieved by developers along with the other metrics through the CloudKit console as detailed here:
+ https://developer.apple.com/documentation/fileprovider/exporting-file-provider-metrics-data?language=objc
+ This will help developers triaging data they receive from testing population compared to regular users
+ The value must either be a NSNumber between [0 - 31]. If it's not in that range, or if it is not a NSNumber, any
+ call to addDomain with that invalid UserInfo dictionary will fail with a EINVAL POSIX NSError.
+ To update this value, the provider must call addDomain with an updated userInfo dictionary
+ */
+FOUNDATION_EXPORT NSFileProviderUserInfoKey const NSFileProviderUserInfoExperimentIDKey
+NS_SWIFT_NAME(NSFileProviderUserInfoKey.experimentID) FILEPROVIDER_API_AVAILABILITY_SYNC_CONTROLS;
+
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderModifyItemOptions.h /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderModifyItemOptions.h
--- /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderModifyItemOptions.h 2025-06-18 06:32:34
+++ /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderModifyItemOptions.h 2025-06-28 10:46:45
@@ -16,9 +16,14 @@
*/
NSFileProviderModifyItemMayAlreadyExist = 1 << 0,
/**
- If the base version of the item trying to be uploaded doesn't match
- the version of the file on server, the call to modifyItem should fail with a
- NSFileProviderErrorLocalVersionConflictingWithServer error.
- */
+ If the base version of the item trying to be uploaded doesn't match
+ the version of the file on server, the call to modifyItem should fail with a
+ NSFileProviderErrorLocalVersionConflictingWithServer error.
+ */
NSFileProviderModifyItemFailOnConflict FILEPROVIDER_API_AVAILABILITY_SYNC_CONTROLS = 1 << 1,
+ /**
+ The upload needs to be completed before the completionHandler gets called
+ in order to let the calling application know when the version is on server.
+ */
+ NSFileProviderModifyItemIsImmediateUploadRequestByPresentingApplication FILEPROVIDER_API_AVAILABILITY_SYNC_CONTROLS = 1 << 2,
} FILEPROVIDER_API_AVAILABILITY_V3_IOS;
diff -ruN /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearch.h /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearch.h
--- /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearch.h 2025-06-18 05:28:42
+++ /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearch.h 2025-06-28 22:41:46
@@ -63,7 +63,7 @@
If the extension returns more than this number of results in a single page enumeration,
the system will crash the extension process.
*/
-@property (nonatomic, readonly) NSUInteger maximumNumberOfResultsPerPage;
+@property (nonatomic, readonly) NSInteger maximumNumberOfResultsPerPage;
@end
@@ -105,7 +105,7 @@
/// How many results the system is requesting. This is a hint to the extension, to help avoid
/// unnecessary work. The extension may return more results than this.
-@property (nonatomic, readonly) NSUInteger desiredNumberOfResults;
+@property (nonatomic, readonly) NSInteger desiredNumberOfResults;
@end