-
Notifications
You must be signed in to change notification settings - Fork 571
MediaExtension macOS xcode27.0 b1
Alex Soto edited this page Jun 9, 2026
·
1 revision
#MediaExtension.framework
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaExtension.framework/Headers/MEExtensionPlugin.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaExtension.framework/Headers/MEExtensionPlugin.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaExtension.framework/Headers/MEExtensionPlugin.h 2026-04-19 00:27:40
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaExtension.framework/Headers/MEExtensionPlugin.h 2026-05-27 01:50:34
@@ -34,12 +34,15 @@
An array of UTType identifiers supported by the format reader plugin.
@constant kMEFormatReaderFileNameExtensionArrayKey
An array of file extensions supported by the format reader plugin. This should include file extensions for any type of related files.
+ @constant kMEFormatReaderSidecarFileNameExtensionArrayKey
+ An array of sidecar file extensions supported by the format reader plugin. These extensions should also be included in the MTFileNameExtensionArray.
@constant kMEFormatReaderObjectNameKey
A user-readable string describing the format reader. This string is used for uniquely identifying format readers and possibly for debug logging but is typically not visible to users.
*/
#define kMEFormatReaderClassImplementationIDKey @"ClassImplementationID"
#define kMEFormatReaderUTTypeArrayKey @"MTUTTypeArray"
#define kMEFormatReaderFileNameExtensionArrayKey @"MTFileNameExtensionArray"
+#define kMEFormatReaderSidecarFileNameExtensionArrayKey @"MTSidecarFileNameExtensionArray"
#define kMEFormatReaderObjectNameKey @"ObjectName"
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaExtension.framework/Headers/MEFormatReader.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaExtension.framework/Headers/MEFormatReader.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaExtension.framework/Headers/MEFormatReader.h 2026-04-19 00:27:40
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaExtension.framework/Headers/MEFormatReader.h 2026-05-27 01:50:35
@@ -3,7 +3,7 @@
Framework: MediaExtension
- Copyright © 2024 Apple Inc. All rights reserved.
+ Copyright © 2024-2026 Apple Inc. All rights reserved.
Overview
@@ -58,6 +58,9 @@
- MTFileNameExtensionArray
An array of strings describing the file name extension strings (without the .) of all file types supported
by the format reader. There should be at least one entry for each type of media file supported.
+ - MTSidecarFileNameExtensionArray
+ An array of strings describing the file name extension strings (without the .) of all sidecar files supported
+ by the format reader. This should also be included in the MTFileNameExtensionArray.
- MTUTTypeArray
An array of strings describing the UTType identifier associated with the media the format reader supports. There
should be at least one entry for the media type that is supported.
@@ -297,6 +300,13 @@
*/
@property (nonatomic, copy, nullable) NSString* sidecarFileName API_AVAILABLE(macos(26.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos);
+/*!
+ @property constituentFileNames
+ @abstract List of media files that collectively represent the media asset.
+ @discussion Represents a list of media files that constitute the media asset. All files must be located in the same directory. The returned filenames should include just the file name and file extension, omitting any file path or directory slashes. The file extensions should all be explicitly supported by the format reader as declared in the EXAppExtensionAttributes and UTExportedTypeDeclarations dictionaries in the MediaExtension format reader Info.plist.
+*/
+@property (nonatomic, copy) NSArray< NSString * >* constituentFileNames API_AVAILABLE(macos(27.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos);
+
@end
@@ -1156,7 +1166,7 @@
The actual number of bytes read.
@param error
Reports any errors. Returns MEErrorEndOfStream if no more bytes can be read.
- @result Returns YES if successful, NO if an error occured.
+ @result Returns YES if successful, NO if an error occurred.
*/
- (BOOL) readDataOfLength:(size_t)length fromOffset:(int64_t)offset toDestination:(void *)dest bytesRead:(size_t *)bytesReadOut error:(NSError * __autoreleasing _Nullable * _Nullable)error NS_SWIFT_UNAVAILABLE("Use 'read(length:from:completionHandler:)' instead");
@@ -1178,7 +1188,7 @@
The relative file name in the receiver MEByteSource's parent directory.
@param errorOut
Reports any errors. Returns MEErrorPermissionDenied if the file cannot be accessed or is prohibited.
- @result Returns nil if fileName refers to a file that cannot be accessed or is prohibited, or if an error occured. The returned MEByteSource is autoreleased.
+ @result Returns nil if fileName refers to a file that cannot be accessed or is prohibited, or if an error occurred. The returned MEByteSource is autoreleased.
*/
- (MEByteSource * _Nullable) byteSourceForRelatedFileName:(NSString *)fileName error:(NSError * _Nullable * _Nullable)errorOut NS_SWIFT_NAME(byteSourceForRelatedFileName(_:));