/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
iphone/Maps/Core/WebImage/UIImageView+WebImage.h
15 строк
391 B
Aleksey Belouosv
[iOS] replace AlamofireImage with custom web image impl
15 янв 2019, 18:32
15 янв 2019, 18:32
9544063
Код
Авторство
О чём код?
#import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface UIImageView (WebImage) - (void)wi_setImageWithUrl:(NSURL *)url; - (void)wi_setImageWithUrl:(NSURL *)url transitionDuration:(NSTimeInterval)duration completion:(void (^ _Nullable)(UIImage * _Nullable image, NSError * _Nullable error))completion; - (void)wi_cancelImageRequest; @end NS_ASSUME_NONNULL_END