|
JubeatPlus 3.9.11
|
The store's promotion-banner carousel. More...


Go to the source code of this file.
Classes | |
| protocol | <StorePromotionViewDelegate> |
| Receives the carousel's banner-tap selections. More... | |
| class | StorePromotionView |
| A paging carousel of promotion banners with auto-advance and per-banner sample playback. More... | |
The store's promotion-banner carousel.
Reconstructed from Ghidra program Jubeat (class StorePromotionView, image base 0x100000000). All
The superclass is UIView, from the -initWithFrame:promotions: chain-up to -[UIView initWithFrame:] and the hitTest:withEvent: override. The view is a paging UIScrollView (a PagingScrollView, so neighbouring pages stay touchable) of banner views that auto-advances on a repeating timer. Each centred banner plays a downloaded video-thumbnail sound clip; a sample-play toggle button mutes or restores that playback.
The whole class branches only on UIDevice.currentDevice.userInterfaceIdiom (pad versus phone, checked at 0x1bb56c). There is no thema theme branch anywhere in the class.
The banner strip is a wrap-around carousel: the initialiser lays out count+2 banners (the real promotions followed by two duplicates) and -scrollViewDidScroll: teleports the offset across the seam so the strip appears infinite.