mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The underlying problem was fixed by the change for rdar://81590807 . Add tests for the specific case that was originally reported. rdar://80704382
24 lines
766 B
Objective-C
24 lines
766 B
Objective-C
#include "rdar80704382.h"
|
|
|
|
#pragma clang assume_nonnull begin
|
|
|
|
@implementation PFXObject
|
|
- (instancetype)init {
|
|
if (self = [super init]) {
|
|
}
|
|
return self;
|
|
}
|
|
+ (void)getIdentifierForUserVisibleFileAtURL:(NSURL *)url
|
|
completionHandler:
|
|
(void (^)(FileProviderItemIdentifier __nullable
|
|
itemIdentifier,
|
|
FileProviderDomainIdentifier __nullable
|
|
domainIdentifier,
|
|
NSError *__nullable error))
|
|
completionHandler {
|
|
completionHandler(@"item_id", @"file_id", NULL);
|
|
}
|
|
@end
|
|
|
|
#pragma clang assume_nonnull end
|