22#import <StoreKit/StoreKit.h>
23#import <UIKit/UIKit.h>
36NS_ASSUME_NONNULL_BEGIN
45 SKProductsRequestDelegate>
57- (instancetype)initWithParent:(nullable
id<StoreParentViewController>)parent;
90- (void)updatePurchaseStateForPackID:(
int)packID;
98- (void)handleTapCoverView:(nullable UITapGestureRecognizer *)recognizer;
117- (void)showError:(nullable NSString *)message;
131- (void)storePackTableViewShowDetail:(nullable
StorePackInfo *)packInfo;
144- (void)downloaderFinished:(
id)downloader;
151- (void)downloaderError:(
id)downloader;
158- (void)downloaderProceed:(
id)downloader;
166- (void)productsRequest:(SKProductsRequest *)request
167 didReceiveResponse:(SKProductsResponse *)response;
174- (void)requestDidFinish:(SKRequest *)request;
182- (void)request:(SKRequest *)request didFailWithError:(NSError *)error;
195- (void)viewWillAppear:(BOOL)animated;
202- (void)viewDidAppear:(BOOL)animated;
209- (void)viewWillDisappear:(BOOL)animated;
216- (void)viewDidDisappear:(BOOL)animated;
230- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
The store-parent interface shared by the two store tab controllers.
A spinner with a caption, swapped for a message when something fails.
Definition StoreLoadingView.h:23
A downloaded pack's detail card.
Definition StorePackDetailView.h:32
A pack's identity, name, price, store flags, and track list.
Definition StorePackInfo.h:18
A store model for a single pack-list genre.
Definition StorePackListGenre.h:25
A table of one genre's store packs with lazily-downloaded artwork and an infinite-scroll "load more" ...
Definition StorePackTableView.h:41
Lists the user's purchased packs with a restore-purchases action and a pack detail view.
Definition StorePurchasedViewController.h:45
void cancelFetching()
Cancels the in-flight catalogue downloader and product request.
Definition StorePurchasedViewController.m:344
void storeClose()
Closes any open alert.
Definition StorePurchasedViewController.m:607
void startLoadPurchasedList()
Gathers the owned and pending pack identifiers, then either shows the empty-list message or starts th...
Definition StorePurchasedViewController.m:134
BOOL shouldAutorotate()
Whether the screen rotates.
Definition StorePurchasedViewController.m:625
void viewDidUnload()
Chains to super; the override adds nothing of its own.
Definition StorePurchasedViewController.m:557
void startFetch()
Fetches the next page of purchased-pack catalogue entries.
Definition StorePurchasedViewController.m:328
void loadView()
Builds the view: a vertical grey gradient behind the pack table, plus the iPad detail overlay and the...
Definition StorePurchasedViewController.m:182
void reloadPurchasedList()
Resets and reloads the purchased-pack list from scratch.
Definition StorePurchasedViewController.m:174
void dealloc()
Cancels nothing and removes no observers; the ivars are torn down by the generated destructor.
Definition StorePurchasedViewController.m:116
void resetPurchasedList()
Clears the resolved and unresolved pack lists and the table's current genre.
Definition StorePurchasedViewController.m:126
void storePackDetailViewClose()
StorePackDetailView close callback: dismisses the iPad overlay.
Definition StorePurchasedViewController.m:427
void storePackTableViewLoadMore()
StorePackTableView load-more callback: fetches the next page.
Definition StorePurchasedViewController.m:382
UIInterfaceOrientationMask supportedInterfaceOrientations()
The orientations the screen supports.
Definition StorePurchasedViewController.m:620
The store's root tab container and shared purchase, download, and agreement coordinator.
Definition StoreViewController.h:52
Performs a single HTTP request.
Definition Downloader.h:30