Add two methods two return the supported UTIs
This commit is contained in:
19 files changed
+127
-16
No files matched your search
@@ -34,6 +34,11 @@ MP42_OBJC_DIRECT_MEMBERS
|
||||
return @[@"ssa", @"ass"];
|
||||
}
|
||||
|
||||
+ (NSArray<UTType *> *)supportedContentTypes
|
||||
{
|
||||
return @[[UTType typeWithFilenameExtension:@"ssa"], [UTType typeWithFilenameExtension:@"ass"]];
|
||||
}
|
||||
|
||||
- (instancetype)initWithURL:(NSURL *)fileURL error:(NSError * __autoreleasing *)outError
|
||||
{
|
||||
if ((self = [super initWithURL:fileURL])) {
|
||||
|
||||
Reference in new issue
Block a user