Skip to content

CoreImage macOS xcode27.2 b3

Alex Soto edited this page Oct 17, 2026 · 1 revision

#CoreImage.framework

diff -ruN /Applications/Xcode_27.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode_27.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h
--- /Applications/Xcode_27.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h	2026-08-14 00:26:55
+++ /Applications/Xcode_27.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h	2026-10-04 00:46:50
@@ -26,8 +26,8 @@
 
 typedef NSString* CIRAWDecoderVersion NS_TYPED_ENUM;
 CORE_IMAGE_EXPORT CIRAWDecoderVersion const CIRAWDecoderVersionNone;
-CORE_IMAGE_EXPORT CIRAWDecoderVersion const CIRAWDecoderVersion9;
-CORE_IMAGE_EXPORT CIRAWDecoderVersion const CIRAWDecoderVersion9DNG;
+CORE_IMAGE_EXPORT CIRAWDecoderVersion const CIRAWDecoderVersion9 API_AVAILABLE(macos(27.0), ios(27.0), tvos(27.0), visionos(27.0));
+CORE_IMAGE_EXPORT CIRAWDecoderVersion const CIRAWDecoderVersion9DNG API_AVAILABLE(macos(27.0), ios(27.0), tvos(27.0), visionos(27.0));
 CORE_IMAGE_EXPORT CIRAWDecoderVersion const CIRAWDecoderVersion8;
 CORE_IMAGE_EXPORT CIRAWDecoderVersion const CIRAWDecoderVersion8DNG;
 CORE_IMAGE_EXPORT CIRAWDecoderVersion const CIRAWDecoderVersion7;
@@ -52,6 +52,17 @@
                              completionHandler:(void (^)(NSError * _Nullable error))completionHandler
     NS_SWIFT_NAME(downloadResources(timeout:completionHandler:))
     API_AVAILABLE(macos(27.0), ios(27.0), tvos(27.0), visionos(27.0));
+
+/* Downloads every on-demand demosaic/denoise model that may be used if they aren't already present.
+   Unlike -downloadResourcesWithTimeout:completionHandler:, this is not scoped to any single CIRAWFilter instance's image.
+   Returns an NSProgress that can be used to track or cancel the download.
+   If 'timeout' elapses before the download finishes, completionHandler is called with a timeout error.
+   completionHandler is called with a nil error on success (whether or not a download was actually needed), or a non-nil error if the download failed or timed out.
+   The completion handler is called on a queue of CoreImage's choosing; dispatch to your own queue if you need one (e.g. the main queue for UI work). */
++ (NSProgress *) downloadAllResourcesWithTimeout:(NSTimeInterval)timeout
+                               completionHandler:(void (^)(NSError * _Nullable error))completionHandler
+    NS_SWIFT_NAME(downloadAllResources(timeout:completionHandler:))
+    API_AVAILABLE(macos(27.2), ios(27.2), tvos(27.2), visionos(27.2));
 
 /* Array of all supported decoder versions for the given image type, sorted in increasingly newer order. All entries would represent a valid version identifier set to 'decoderVersion'.*/
 @property(readonly) NSArray<CIRAWDecoderVersion>* supportedDecoderVersions;

Clone this wiki locally