|
JubeatPlus 3.9.11
|
The store pack-detail card, the V2 (relation-tab, recommend-aware) variant. More...
import <StoreKit/StoreKit.h>import <UIKit/UIKit.h>import "AlertViewManager.h"import "Downloader.h"
Go to the source code of this file.
Classes | |
| class | StorePackDetailViewV2 |
| A downloaded pack's detail card (version 2). More... | |
The store pack-detail card, the V2 (relation-tab, recommend-aware) variant.
Reconstructed from Ghidra program Jubeat (class StorePackDetailViewV2, image base 0x100000000). All
The superclass is UIView : the chain-up in -initWithFrame: at 0x1dbf70 targets UIView , and -dealloc chains to -[UIView dealloc] . Unlike the phone card the frame is passed through to super unchanged (no height extension), and there is no IsPad() or theme branch anywhere in the class.
The card shows one downloaded pack's artwork, name, and comment, and switches between two lists through a relation-tab strip: the pack's own tune views (backed by musicViewBg ) and a list of recommended packs (backed by packViewBg and rendered by recommendPackTableView ). Tapping a tab cross-fades the two backing scroll views through the -setRelationColor:animate: two-leg animation. 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 .
It acts as a DownloaderDelegate for its info fetch, its sample fetch, and its recommend fetch, as an AlertViewManagerDelegate for the link confirmation and the network-error alerts it raises, and as an SKProductsRequestDelegate for the recommended-pack product resolution. It is a close sibling of StorePackDetailView and StoreDetailViewControllerV2 .