28#import <UIKit/UIKit.h>
41NS_ASSUME_NONNULL_BEGIN
101- (void)storeEnd:(nullable
id)sender;
109- (void)showModalDialog:(nullable
id<StoreDialogViewDelegate>)delegate;
124- (void)startDownloadMusics:(
int)packID;
132- (void)startDownloadExtendMusics:(
int)packID;
139- (void)performRestore:(nullable
id)sender;
156- (BOOL)checkAttainLimitPurchase:(nullable SKProduct *)product;
172- (void)detailViewStartExtendDownload:(nullable
StorePackInfo *)packInfo;
174#pragma mark - PurchaseManagerDelegate
182- (void)purchaseSucceeded:(nullable NSString *)productID;
190- (void)purchaseFailed:(nullable NSString *)productID error:(nullable NSError *)error;
204- (void)restoreFailed:(nullable NSError *)error;
218#pragma mark - AlertViewManagerDelegate
225- (void)alertSelect:(nonnull NSDictionary *)info;
227#pragma mark - StoreDialogViewDelegate
235- (void)storeDialogCancel:(nullable
id)dialogView;
237#pragma mark - StoreDownloadManagerDelegate
267#pragma mark - Deep-link detail opening
275- (void)openDetail:(nullable NSNumber *)packID;
283- (void)openCampaignDetail:(nullable NSNumber *)campaignID;
291#pragma mark - Cover view and agreement gate
310- (void)dispErrorLabel:(nullable NSString *)msg;
318- (void)agreementSuccess:(nullable
id)sender;
325- (void)agreementFailed:(nullable
id)sender;
332- (void)becomePolicyAgreement:(nullable
id)sender;
340- (void)agreementError:(nullable
id)sender msgStr:(nullable NSString *)msg;
342#pragma mark - DownloaderDelegate
349- (void)downloaderFinished:(nullable
id)downloader;
356- (void)downloaderError:(nullable
id)downloader;
358#pragma mark - EditorIDManagerDelegate
365- (void)successIDDownload:(nullable
id)manager;
373- (void)errorIDDownload:(nullable
id)manager msgStr:(nullable NSString *)msg;
375#pragma mark - Mission achievement
384#pragma mark - View lifecycle
397- (void)viewWillAppear:(BOOL)animated;
404- (void)viewDidAppear:(BOOL)animated;
411- (void)viewWillDisappear:(BOOL)animated;
418- (void)viewDidDisappear:(BOOL)animated;
426- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
A shared alert presenter that hides the UIAlertController/UIAlertView split behind one API.
The editor identifier store, backed by the keychain.
The StoreKit purchase manager.
The store's modal progress panel.
Downloads a queue of store packs in sequence, verifying, unpacking, and registering each.
The store-parent interface shared by the two store tab controllers.
A store pack's detail screen (version 2).
Definition StoreDetailViewControllerV2.h:89
A rounded panel with a spinner, a one-line message, a progress bar and an abort button.
Definition StoreDialogView.h:37
Runs a list of store download tasks one after another, verifying each pack's trailing MD5 digest,...
Definition StoreDownloadManager.h:49
A pack's identity, name, price, store flags, and track list.
Definition StorePackInfo.h:18
The store's root tab container and shared purchase, download, and agreement coordinator.
Definition StoreViewController.h:52
void resignCoverView()
Fades the licence-agreement cover out.
Definition StoreViewController.m:984
void restoreNothing()
A restore found nothing to restore: hides the dialog and tells the player.
Definition StoreViewController.m:767
void didReceiveMemoryWarning()
Handles a low-memory warning.
Definition StoreViewController.m:1348
void storeClose()
Closes every child's store view and any open alert.
Definition StoreViewController.m:959
void becomeCoverView()
Fades the licence-agreement cover in.
Definition StoreViewController.m:970
UIInterfaceOrientationMask supportedInterfaceOrientations()
The orientations the screen supports.
Definition StoreViewController.m:1378
NSDictionary * startupParameters
The deep-link parameters used to pre-open a genre, pack, or campaign.
Definition StoreViewController.h:59
void firstRestore()
Shows the modal dialog and begins a purchase restore.
Definition StoreViewController.m:790
BOOL shouldAutorotate()
Whether the screen rotates.
Definition StoreViewController.m:1383
void restoreSucceeded()
A restore completed: clears the purchase delegate, hides the dialog, and shows the restore-complete a...
Definition StoreViewController.m:719
void firstStoreItemLoad()
Reads the startup parameters and opens the deep-linked genre or pack (and, when present,...
Definition StoreViewController.m:252
instancetype init()
Builds the four child controllers, wraps each in a navigation controller, and installs them as the ta...
Definition StoreViewController.m:213
void loadView()
Builds the tab container's view, the dimming cover, and the modal dialog sized for the device idiom.
Definition StoreViewController.m:311
StoreDialogView * modalDialog
The shared modal progress panel behind the dimming cover.
Definition StoreViewController.h:65
void loadInitialStoreInfo()
Re-enables interaction and either provisions a missing editor id or builds the licence-agreement gate...
Definition StoreViewController.m:268
void createStoreMissionDownloader()
Builds the mission-achievement-check session downloader for the challenge missions that are unlocked-...
Definition StoreViewController.m:1312
void hideModalDialog()
Fades the dimming cover and modal dialog out, stopping the spinner and unmounting the dialog on compl...
Definition StoreViewController.m:370
The optional delegate of AlertViewManager.
Definition AlertViewManager.h:18
Performs a single HTTP request.
Definition Downloader.h:30
Told how the editor-identifier provisioning download finished.
Definition EditorIDManager.h:22
Drives in-app purchases.
Definition PurchaseManager.h:24
What a StoreDialogView tells its owner.
Definition StoreDialogView.h:21
Told about a store download queue's progress.
Definition StoreDownloadManager.h:20
What a store child controller needs from its owning store tab controller.
Definition StoreParentViewController.h:29