18#import <UIKit/UIKit.h>
25NS_ASSUME_NONNULL_BEGIN
33@protocol MarkerDownloadViewDelegate <NSObject>
54@property(nonatomic, weak, nullable) id<MarkerDownloadViewDelegate>
delegate;
116- (void)downloaderError:(
id)downloader;
123- (void)downloaderFinished:(
id)downloader;
149- (void)alertSelect:(nonnull NSDictionary *)info;
168- (void)storeDialogCancel:(
id)dialogView;
A shared alert presenter that hides the UIAlertController/UIAlertView split behind one API.
Downloads a queue of marker packs in sequence, verifying and installing each.
The store's modal progress panel.
Runs a list of marker download tasks one after another.
Definition MarkerDownloadManager.h:49
A full-screen dimming cover carrying a StoreDialogView download-progress panel.
Definition MarkerDownloadView.h:48
id< MarkerDownloadViewDelegate > delegate
The object told when the marker check ends.
Definition MarkerDownloadView.h:54
void showListSkipAlert()
Presents the confirm-skip alert (tag 1 ).
Definition MarkerDownloadView.m:272
void markerDownloadCancel()
Aborts the check: hides the dialog, cancels the queue, resets the current marker to "mk0026" ,...
Definition MarkerDownloadView.m:142
void showModalDialog()
Fades the cover in and puts the panel into its spinner state.
Definition MarkerDownloadView.m:311
void show()
Starts the marker check: shows the dialog (unless the markers are already legal) and downloads the ma...
Definition MarkerDownloadView.m:118
void downloadMarkerList()
Requests the marker list from the store.
Definition MarkerDownloadView.m:127
UIView * parentView
The view the modal is shown over.
Definition MarkerDownloadView.h:59
void markerDownloadEnd()
Ends the check: hides the dialog and tells the delegate -markerCheckEnd .
Definition MarkerDownloadView.m:134
void listDownloadFailed()
Handles a failed list download: ends the check when the markers are legal, otherwise treats it as a q...
Definition MarkerDownloadView.m:244
instancetype init()
Builds the cover and the progress panel at the screen's size.
Definition MarkerDownloadView.m:80
void markerDownload()
Starts downloading the queued markers, or ends the check when the queue is empty.
Definition MarkerDownloadView.m:154
void hideModalDialog()
Fades the cover out, stops the spinner, and detaches the modal.
Definition MarkerDownloadView.m:335
void showDownloadRetryAlert()
Presents the retry-or-skip alert (tag 2 ).
Definition MarkerDownloadView.m:255
void createMarkerDownloadList()
Builds the download queue by diffing the downloaded marker list against the installed markers,...
Definition MarkerDownloadView.m:167
The optional delegate of AlertViewManager.
Definition AlertViewManager.h:18
Performs a single HTTP request.
Definition Downloader.h:30
Told about a marker download queue's progress.
Definition MarkerDownloadManager.h:21
void markerCheckEnd()
Sent once the marker check and download have finished, whether they succeeded, were cancelled,...
What a StoreDialogView tells its owner.
Definition StoreDialogView.h:21