24#import <StoreKit/StoreKit.h>
25#import <UIKit/UIKit.h>
36NS_ASSUME_NONNULL_BEGIN
75- (void)errorIDDownload:(nullable
id)manager msgStr:(nullable NSString *)msgStr;
83- (void)successIDDownload:(nullable
id)manager;
97- (void)storeEnd:(nullable
id)sender;
104- (void)showModalDialog:(nullable
id)delegate;
118- (void)startDownloadMusics:(
int)packID;
126- (void)startDownloadExtendMusics:(
int)packID;
133- (void)performRestore:(nullable
id)sender;
140- (void)detailViewStartRedownload:(nullable
StorePackInfo *)packInfo;
149- (BOOL)checkAttainLimitPurchase:(nullable SKProduct *)product;
157- (void)detailViewStartPurchase:(nullable
StorePackInfo *)packInfo;
164- (void)detailViewStartExtendDownload:(nullable
StorePackInfo *)packInfo;
172- (void)purchaseSucceeded:(nullable NSString *)productID;
181- (void)purchaseFailed:(nullable NSString *)productID error:(nullable NSError *)error;
196- (void)restoreFailed:(nullable NSError *)error;
217- (void)alertSelect:(nonnull NSDictionary *)info;
225- (void)storeDialogCancel:(nullable
id)dialogView;
232- (void)downloadManagerStartTask:(nullable
id)manager;
239- (void)downloadManagerCompleted:(nullable
id)manager;
247- (void)downloadManagerFailed:(nullable
id)manager;
254- (void)downloadManagerProceed:(nullable
id)manager;
261- (void)openDetail:(nullable NSNumber *)packID;
268- (void)openCampaignDetail:(nullable NSNumber *)campaignID;
293- (void)dispErrorLabel:(nullable NSString *)message;
301- (void)agreementSuccess:(nullable
id)agreement;
309- (void)downloaderFinished:(nullable
id)downloader;
317- (void)downloaderError:(nullable
id)downloader;
324- (void)agreementFailed:(nullable
id)agreement;
331- (void)becomePolicyAgreement:(nullable
id)agreement;
339- (void)agreementError:(nullable
id)agreement msgStr:(nullable NSString *)msgStr;
359- (void)viewWillAppear:(BOOL)animated;
366- (void)viewDidAppear:(BOOL)animated;
373- (void)viewWillDisappear:(BOOL)animated;
380- (void)viewDidDisappear:(BOOL)animated;
388- (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.
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 rounded panel with a spinner, a one-line message, a progress bar and an abort button.
Definition StoreDialogView.h:37
A pack's identity, name, price, store flags, and track list.
Definition StorePackInfo.h:18
The store's four-tab container and shared purchase/restore/download coordinator.
Definition StoreViewControllerV2.h:45
void hideModalDialog()
Fades the modal cover view out, stops the spinner, and unmounts it.
Definition StoreViewControllerV2.m:408
void firstRestore()
Shows the processing dialog and begins a purchase restore.
Definition StoreViewControllerV2.m:822
void firstStoreItemLoad()
Opens the main tab on its startup pack or genre, and the campaign tab on its startup campaign,...
Definition StoreViewControllerV2.m:298
void loadView()
Builds the modal cover view and the StoreDialogView progress overlay, sized for the device idiom.
Definition StoreViewControllerV2.m:230
UIInterfaceOrientationMask supportedInterfaceOrientations()
The orientations the screen supports.
Definition StoreViewControllerV2.m:286
void didReceiveMemoryWarning()
Chains to super; the override adds nothing of its own.
Definition StoreViewControllerV2.m:256
NSDictionary * startupParameters
The parameters that seed the initial pack, genre, or campaign to open.
Definition StoreViewControllerV2.h:409
void resignCoverView()
Fades the user-policy overlay out.
Definition StoreViewControllerV2.m:1019
void becomeCoverView()
Fades the user-policy overlay in.
Definition StoreViewControllerV2.m:1005
StoreDialogView * modalDialog
The shared progress-and-abort modal overlay.
Definition StoreViewControllerV2.h:415
void restoreNothing()
Restore with nothing to restore: clears the delegate, hides the dialog, and shows the nothing-to-rest...
Definition StoreViewControllerV2.m:799
instancetype init()
Builds the four tabs, each wrapped in a non-translucent navigation controller.
Definition StoreViewControllerV2.m:192
void createStoreMissionDownloader()
Builds the mission-achievement-check session downloader from the selected mission sheet's unclaimed c...
Definition StoreViewControllerV2.m:1270
void restoreSucceeded()
Restore success: clears the delegate, hides the dialog, and shows the restore-complete alert.
Definition StoreViewControllerV2.m:751
BOOL shouldAutorotate()
Whether the screen rotates.
Definition StoreViewControllerV2.m:291
void loadInitialStoreInfo()
Resumes interaction, then either starts the editor-ID download (when no ID exists) or builds the dimm...
Definition StoreViewControllerV2.m:314
void storeClose()
Closes every tab's store session and any open alert.
Definition StoreViewControllerV2.m:989
The optional delegate of AlertViewManager.
Definition AlertViewManager.h:18
Told how the editor-identifier provisioning download finished.
Definition EditorIDManager.h:22
Drives in-app purchases.
Definition PurchaseManager.h:24
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