|
JubeatPlus 3.9.11
|
The store's recommended-pack table: a self-hosting UITableView that lists recommended packs with asynchronously-downloaded artwork.
More...

Go to the source code of this file.
Classes | |
| class | StoreRecommendPackTableView |
| A table of recommended store packs with lazily-downloaded artwork and an infinite-scroll "load more" row. More... | |
The store's recommended-pack table: a self-hosting UITableView that lists recommended packs with asynchronously-downloaded artwork.
Reconstructed from Ghidra program Jubeat (class StoreRecommendPackTableView, image base 0x100000000). All
The superclass is UITableView, from the -initWithFrame:style: chain-up. The view is its own data source and delegate. Cells differ by idiom: on iPhone each row is one StorePackCell showing a single pack; on iPad each row is a StoreRecommendTableCell carrying two StoreRecommendPackView tiles side by side, so a row holds two packs. A trailing "load more" row is a plain UITableViewCell that shows either a localised prompt or a spinner.
Artwork is fetched off the main thread on an NSOperationQueue and kept in an NSCache keyed by an NSIndexPath whose section carries the owning pack's identifier (a staleness guard) and whose row carries the pack's position. A per-slot in-flight list prevents duplicate downloads.