15#import <UIKit/UIKit.h>
19NS_ASSUME_NONNULL_BEGIN
30@property(nonatomic, strong, nullable) NSString *
imageURL;
52- (void)unloadImage:(nullable UIImage *)image;
63- (void)downloaderFinished:(
id)downloader;
70- (void)downloaderError:(
id)downloader;
A one-shot HTTP request that reports its result to a delegate.
Definition Downloader.h:52
An image view that loads itself from imageURL on demand.
Definition StoreImageView.h:24
NSString * imageURL
Where to fetch the artwork from.
Definition StoreImageView.h:30
Downloader * imageDownloader
The fetch in flight, or nil when none is.
Definition StoreImageView.h:36
void startDownloadImage()
Starts fetching imageURL , unless there is no URL or a fetch is already running.
Definition StoreImageView.m:9
Performs a single HTTP request.
Definition Downloader.h:30