JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StoreGenreSelectView Class Reference

A paging, wrap-around row of genre banners with a delegate-reported selection. More...

#include <StoreGenreSelectView.h>

Inheritance diagram for StoreGenreSelectView:
Collaboration diagram for StoreGenreSelectView:

Instance Methods

(instancetype) - initWithFrame:genreList:
 Builds the scroll view, one banner per genre plus wrap-around copies, and selects the first genre.
(void) - scrollViewWillBeginDragging:
 Scroll delegate hook invoked as dragging begins.
(void) - scrollViewDidScroll:
 Keeps the paging offset inside the real banners by looping it when it drifts into a wrap-around pad.
(void) - scrollViewDidEndDragging:willDecelerate:
 Scroll delegate hook invoked when dragging ends.
(void) - scrollViewWillBeginDecelerating:
 Scroll delegate hook invoked as deceleration begins.
(void) - scrollViewDidEndDecelerating:
 Scroll delegate hook invoked when deceleration ends.
(void) - tapGenreBtn:
 Banner tap handler: selects the tapped genre and notifies the delegate.
(void) - setSelectedGenreIndex:
 Selects a genre by index, highlighting its banner and animating the scroll to it.
(void) - setSelectedBanner:
 Marks the banner for the given genre index as selected and every other as not.

Properties

id< StoreGenreSelectViewDelegate > delegate
 The object told when the selected genre changes.

Detailed Description

A paging, wrap-around row of genre banners with a delegate-reported selection.

Method Documentation

◆ initWithFrame:genreList:

- (instancetype) initWithFrame: (CGRect) frame
genreList: (nullable NSArray *) genreList 

Builds the scroll view, one banner per genre plus wrap-around copies, and selects the first genre.

Parameters
frameThe picker's frame.
genreListThe genres to show, each a StorePackListGenre.
Returns
The initialised picker.
Ghidra address:
0x1db4fc

◆ scrollViewDidEndDecelerating:

- (void) scrollViewDidEndDecelerating: (nonnull UIScrollView *) scrollView

Scroll delegate hook invoked when deceleration ends.

Inert in the shipped binary.

Parameters
scrollViewThe scrolling view.
Ghidra address:
0x1dbc24

◆ scrollViewDidEndDragging:willDecelerate:

- (void) scrollViewDidEndDragging: (nonnull UIScrollView *) scrollView
willDecelerate: (BOOL) decelerate 

Scroll delegate hook invoked when dragging ends.

Inert in the shipped binary.

Parameters
scrollViewThe scrolling view.
decelerateWhether the view will keep scrolling.
Ghidra address:
0x1dbc1c

◆ scrollViewDidScroll:

- (void) scrollViewDidScroll: (nonnull UIScrollView *) scrollView

Keeps the paging offset inside the real banners by looping it when it drifts into a wrap-around pad.

Parameters
scrollViewThe scrolling view.
Ghidra address:
0x1dbb5c

◆ scrollViewWillBeginDecelerating:

- (void) scrollViewWillBeginDecelerating: (nonnull UIScrollView *) scrollView

Scroll delegate hook invoked as deceleration begins.

Inert in the shipped binary.

Parameters
scrollViewThe scrolling view.
Ghidra address:
0x1dbc20

◆ scrollViewWillBeginDragging:

- (void) scrollViewWillBeginDragging: (nonnull UIScrollView *) scrollView

Scroll delegate hook invoked as dragging begins.

Inert in the shipped binary.

Parameters
scrollViewThe scrolling view.
Ghidra address:
0x1dbb58

◆ setSelectedBanner:

- (void) setSelectedBanner: (NSInteger) index

Marks the banner for the given genre index as selected and every other as not.

Parameters
indexThe genre index whose banners are selected.
Ghidra address:
0x1dbd70
Ghidra address:
0x1dbd70

◆ setSelectedGenreIndex:

- (void) setSelectedGenreIndex: (NSInteger) index

Selects a genre by index, highlighting its banner and animating the scroll to it.

Parameters
indexThe genre index to select.
Ghidra address:
0x1dbce8
Ghidra address:
0x1dbce8

◆ tapGenreBtn:

- (void) tapGenreBtn: (nonnull id) sender

Banner tap handler: selects the tapped genre and notifies the delegate.

Parameters
senderThe tapped banner, whose tag encodes its position in the padded banner row.
Ghidra address:
0x1dbc60

The documentation for this class was generated from the following files: