JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StoreDetailViewControllerV2.h File Reference

The store pack-detail page, the V2 (recommend-aware, relation-tab) variant. More...

import <StoreKit/StoreKit.h>
import <UIKit/UIKit.h>
import "AlertViewManager.h"
import "Downloader.h"
import "ImageDownloader.h"
Include dependency graph for StoreDetailViewControllerV2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

protocol  <StoreDetailViewControllerV2Delegate>
 Receives the pack-detail page's purchase, redownload, and extend-download actions. More...
protocol  <StoreDetailViewControllerV2CloseDelegate>
 Receives the pack-detail page's navigation-close notification. More...
class  StoreDetailViewControllerV2
 A store pack's detail screen (version 2). More...

Detailed Description

The store pack-detail page, the V2 (recommend-aware, relation-tab) variant.

Reconstructed from Ghidra program Jubeat (class StoreDetailViewControllerV2, image base 0x100000000). All

Ghidra address:
values are offsets relative to that image base.

The superclass is UIViewController : every super call in the class (init, loadView, the lifecycle hooks, and dealloc) targets UIViewController , and the controller builds its own tables as ivars and wires itself as their data source and delegate — it is not a UITableViewController .

Unlike StoreDetailViewController this variant keeps three parallel copies of a StoreDetailHeaderViewV2 in headerViewArray , one mounted as the table header of each of the three tables it owns: the tune list (detailTableView , tag 2), the recommended-pack list (recommendPackTableView ), and a spare header carrier (tmpHeaderTable , tag 3). Each header carries a relation-tab strip; tapping a tab cross-fades the visible table through the -tapRelationButton: four-stage animation chain. The recommended-pack list is fetched through a signed SessionDownloader against +[ScratchUtil recommendPackListURL] , and the packs it names are resolved to StorePackInfo through an SKProductsRequest .

Each tune row can play a downloaded preview through AudioManager , download its jacket artwork through a per-row ImageDownloader keyed in artworkDownloaders , and open its iTunes listing through an SKStoreProductViewController . The header's purchase and extend buttons forward to a weak delegate ; the navigation-close callback forwards to a weak closeDelegate .