Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
21
iphone/Maps/Core/WebImage/IMWMWebImage.h
Normal file
21
iphone/Maps/Core/WebImage/IMWMWebImage.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol IMWMImageTask <NSObject>
|
||||
|
||||
- (void)cancel;
|
||||
|
||||
@end
|
||||
|
||||
typedef void (^MWMWebImageCompletion)(UIImage * _Nullable image, NSError * _Nullable error);
|
||||
|
||||
@protocol IMWMWebImage
|
||||
|
||||
- (id<IMWMImageTask>)imageWithUrl:(NSURL *)url
|
||||
completion:(MWMWebImageCompletion)completion;
|
||||
- (void)cleanup;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Loading…
Add table
Add a link
Reference in a new issue