mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 05:43:37 +00:00
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
22 lines
389 B
Objective-C
22 lines
389 B
Objective-C
#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
|