Skip to content

FileProvider iOS xcode27.0 b1

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

#FileProvider.framework

diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h	2026-04-18 20:57:23
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h	2026-05-28 02:05:56
@@ -52,3 +52,5 @@
 #define FILEPROVIDER_API_AVAILABILITY_SEARCH API_AVAILABLE(macos(26.0)) API_UNAVAILABLE(watchos, tvos) API_UNAVAILABLE(ios, macCatalyst)
 
 #define FILEPROVIDER_API_AVAILABILITY_SYNC_CONTROLS API_AVAILABLE(macos(26.0), ios(26.0)) API_UNAVAILABLE(watchos, tvos) API_UNAVAILABLE(macCatalyst)
+
+#define FILE_PROVIDER_AVAILABILITY_NAMESPACE_POLICY API_UNAVAILABLE(macos, ios) API_UNAVAILABLE(watchos, tvos) API_UNAVAILABLE(macCatalyst)
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h	2026-04-18 23:19:40
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h	2026-05-28 01:41:44
@@ -288,6 +288,34 @@
     NSFileProviderContentPolicyDownloadEagerlyAndKeepDownloaded FILEPROVIDER_API_AVAILABILITY_V5_0
 };
 
+FILE_PROVIDER_AVAILABILITY_NAMESPACE_POLICY
+typedef NS_ENUM(NSInteger, NSFileProviderNamespacePolicy) {
+    /**
+     Inherit the namespace policy of the parent folder.
+
+     This is the default namespace policy on every item other than the root.
+     */
+    NSFileProviderNamespacePolicyInherited FILE_PROVIDER_AVAILABILITY_NAMESPACE_POLICY,
+
+    /**
+     Enumerate this folder lazily (i.e upon access) if it is dataless.
+     Keep populate new items below this folder eagerly if it's already on disk.
+
+     This is the default policy on the root.
+     */
+    NSFileProviderNamespacePolicyMaterializeLazily FILE_PROVIDER_AVAILABILITY_NAMESPACE_POLICY,
+
+    /**
+     Download this folder eagerly, make sure it's always fully enumerated
+     Keep downloading remote updates eagerly.
+     Prevent eviction on low disk pressure and other triggers.
+
+     When a folder with the inherited policy is moved into a folder with
+     this policy, the system will automatically schedule a download.
+     */
+    NSFileProviderNamespacePolicyMaterializeEagerly FILE_PROVIDER_AVAILABILITY_NAMESPACE_POLICY,
+};
+
 FILEPROVIDER_API_AVAILABILITY_V2_V3
 @protocol NSFileProviderItem <NSObject>
 
@@ -806,6 +834,11 @@
  Declarative API to define the item content policy according to the available NSFileProviderContentPolicy
  */
 @property (nonatomic, readonly) NSFileProviderContentPolicy contentPolicy FILEPROVIDER_API_AVAILABILITY_V5_0_IOS;
+
+/**
+ Declarative API to define the item namespace policy according to the available NSFileProviderNamespacePolicy
+ */
+@property (nonatomic, readonly) NSFileProviderNamespacePolicy namespacePolicy FILE_PROVIDER_AVAILABILITY_NAMESPACE_POLICY;
 
 @end
 

Clone this wiki locally