|
JubeatPlus 3.9.11
|
The store's per-genre pack table: a self-hosting UITableView that lists the downloadable packs of one genre with asynchronously-downloaded pack artwork and a "load more" paging row.
More...

Go to the source code of this file.
Classes | |
| class | StorePackTableView |
| A table of one genre's store packs with lazily-downloaded artwork and an infinite-scroll "load more" row. More... | |
The store's per-genre pack table: a self-hosting UITableView that lists the downloadable packs of one genre with asynchronously-downloaded pack artwork and a "load more" paging row.
Reconstructed from Ghidra program Jubeat (class StorePackTableView, 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 StoreTableCell carrying two StorePackView tiles side by side, so a row holds two packs (the right tile is hidden on an odd count). A trailing "load more" row is a plain UITableViewCell that shows either a localised prompt or a spinner, and appears while the genre reports a further catalogue page.
Artwork is fetched off the main thread on an NSOperationQueue and kept in an NSCache keyed by an NSIndexPath whose section carries the owning genre's identifier (a staleness guard) and whose row carries the pack's position. A per-slot in-flight list prevents duplicate downloads.