Fix build on macOS 26 SDK

This commit is contained in:
Damiano Galassi committed 2026-09-22 20:33:17 +02:00
1 parent 2c6f987f5b
commit 0a8f6fe4ea
2 files changed
+3 -4

No files matched your search

+2 -3
View File
@@ -25,9 +25,8 @@ NS_ASSUME_NONNULL_BEGIN
+ (NSArray<NSString *> *)supportedFileFormats;
+ (BOOL)canInitWithFileType:(NSString *)fileType;
+ (NSArray<UTType *> *)supportedContentTypes;
+ (BOOL)canInitWithContentType:(UTType *)contentType;
+ (NSArray<UTType *> *)supportedContentTypes API_AVAILABLE(macos(11.0));
+ (BOOL)canInitWithContentType:(UTType *)contentType API_AVAILABLE(macos(11.0));
- (nullable instancetype)initWithURL:(NSURL *)fileURL error:(NSError * __autoreleasing *)error;
+1 -1
View File
@@ -37,7 +37,7 @@ static NSArray<Class> *_fileImporters;
static NSArray<NSString *> *_supportedFileFormats;
/// The supporter uniform type identifiers.
static NSArray<UTType *> *_supportedContentTypes;
static NSArray<UTType *> *_supportedContentTypes API_AVAILABLE(macos(11.0));
@implementation MP42FileImporter {