22#import <UIKit/UIKit.h>
32NS_ASSUME_NONNULL_BEGIN
54- (instancetype)initWithParent:(nullable
id<StoreParentViewController>)parent;
76- (UITableViewCell *)tableView:(UITableView *)aTableView
77 cellForRowAtIndexPath:(NSIndexPath *)indexPath;
86- (NSInteger)tableView:(UITableView *)aTableView numberOfRowsInSection:(NSInteger)section;
95- (void)tableView:(UITableView *)aTableView
96 willDisplayCell:(UITableViewCell *)cell
97 forRowAtIndexPath:(NSIndexPath *)indexPath;
105- (NSInteger)numberOfSectionsInTableView:(UITableView *)aTableView;
114- (CGFloat)tableView:(UITableView *)aTableView heightForRowAtIndexPath:(NSIndexPath *)indexPath;
121- (void)handleTapCoverView:(nullable UITapGestureRecognizer *)recognizer;
128- (void)pushExternalLink:(nullable
id)sender;
136- (void)selectItem:(
int)index;
143- (void)pushCellButton:(nullable
id)sender;
162- (void)displayTerm:(nullable
id)sender;
176- (void)alertSelect:(NSDictionary *)info;
184- (void)downloaderFinished:(
id)downloader;
191- (void)downloaderError:(
id)downloader;
199- (void)storeDialogCancel:(
id)dialogView;
248- (nullable UIImage *)getArtwork:(nullable
id)info;
274- (void)setBadgeCnt:(
int)count;
299- (void)viewWillAppear:(BOOL)animated;
306- (void)viewDidAppear:(BOOL)animated;
313- (void)viewWillDisappear:(BOOL)animated;
320- (void)viewDidDisappear:(BOOL)animated;
328- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
357- (void)downloadImageSync:(nullable NSArray *)arguments;
388- (void)initialCampaignID:(NSInteger)campaignID;
396- (void)addOpenDetail:(NSInteger)campaignID;
A shared alert presenter that hides the UIAlertController/UIAlertView split behind one API.
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.
Lists downloadable campaign items and drives their unlock, download, and detail display.
Definition StoreCampaignViewController.h:42
void itemInfoDownload()
Posts the per-item info request for the working item and starts its Downloader .
Definition StoreCampaignViewController.m:674
void itemUpdate()
Re-evaluates the working item and forwards its new state to the open detail card.
Definition StoreCampaignViewController.m:694
void itemDownload()
Starts the download flow for the working item, branching on its button type.
Definition StoreCampaignViewController.m:623
void refreshMusicList()
Ensures every item's artwork is fetched, then reloads the table.
Definition StoreCampaignViewController.m:1122
void moveExternalLink()
Opens the working row's external link.
Definition StoreCampaignViewController.m:610
void viewDidUnload()
Drops the table view reference when the view is unloaded.
Definition StoreCampaignViewController.m:1310
void viewDidLoad()
Makes the navigation bar and its subviews exclusive-touch.
Definition StoreCampaignViewController.m:1301
void didReceiveMemoryWarning()
Chains to super; the override adds nothing of its own.
Definition StoreCampaignViewController.m:1296
void downloadCampaignList()
Posts the campaign-list request and starts its Downloader .
Definition StoreCampaignViewController.m:326
void reloadUnlockList()
Rebuilds the unlock table and refreshes the music list.
Definition StoreCampaignViewController.m:1116
void dealloc()
Empties the artwork cache and detaches its delegate.
Definition StoreCampaignViewController.m:345
UIInterfaceOrientationMask supportedInterfaceOrientations()
The orientations the screen supports.
Definition StoreCampaignViewController.m:1347
void itemDeselect()
Clears the working row and the detail-open flag.
Definition StoreCampaignViewController.m:585
void loadView()
Builds the view: a full-bounds vertical gradient, a non-selectable table, a loading overlay,...
Definition StoreCampaignViewController.m:250
BOOL shouldAutorotate()
Whether the screen rotates.
Definition StoreCampaignViewController.m:1353
void refreshUnlockBadge()
Recomputes the tab badge count from the newly-unlocked items.
Definition StoreCampaignViewController.m:1173
void clearArtworkCache()
Empties the artwork cache, cancels every pending download operation, and clears the in-flight list.
Definition StoreCampaignViewController.m:1287
void displayUpdateAlert()
Shows the "an app update is required to unlock this tune" alert.
Definition StoreCampaignViewController.m:719
void refreshUnlockTable()
Rebuilds the displayed item list from the server unlock-check list, deduplicating by campaign and hon...
Definition StoreCampaignViewController.m:1130
void storeClose()
Closes any open alert.
Definition StoreCampaignViewController.m:1109
Runs a list of store download tasks one after another, verifying each pack's trailing MD5 digest,...
Definition StoreDownloadManager.h:49
The store's root tab container and shared purchase, download, and agreement coordinator.
Definition StoreViewController.h:52
The optional delegate of AlertViewManager.
Definition AlertViewManager.h:18
Performs a single HTTP request.
Definition Downloader.h:30
What a StoreDialogView tells its owner.
Definition StoreDialogView.h:21
Told about a store download queue's progress.
Definition StoreDownloadManager.h:20