我在 FileManagerHelper 中有这个 Objective-C 代码:
+(void)getMyVideoObject:(NSString *)videoId completion:(void (^)(MyVideoObject *myVideoObject, NSError *error)) completionBlock
{
}
从 Objective-C 调用:
[FileManagerHelper getMyVideoObject:videoId completion:^(MyVideoObject *myVideoObject, NSError *error) {
}];
但是如何从 Swift 调用这个 getMyVideoObject 呢?
FileManagerHelper.getMyVideoObject(
……?