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

A rounded genre banner showing a title over an optional downloaded artwork. More...

#include <StoreGenreBannerView.h>

Inheritance diagram for StoreGenreBannerView:
Collaboration diagram for StoreGenreBannerView:

Instance Methods

(instancetype) - initWithFrame:
 Builds the banner's shadow layer, artwork button, and title label.
(void) - setGenreInfo:
 Fills the banner from a genre record and, when it has an artwork URL, starts a fetch.
(void) - tapGenreBanner:
 The tap handler: tells the delegate the banner was tapped.
(void) - setSelectColor:
 Applies the selected or unselected appearance to the banner's border, background, and shadow.
Instance Methods inherited from <DownloaderDelegate>
(void) - downloaderProceed:
 Sent periodically as data arrives, and once more on completion.
(void) - downloaderFinished:
 Sent when the request completes.
(void) - downloaderError:
 Sent when the request fails.

Properties

id delegate
 The object told when the banner is tapped.

Detailed Description

A rounded genre banner showing a title over an optional downloaded artwork.

Method Documentation

◆ initWithFrame:

- (instancetype) initWithFrame: (CGRect) frame

Builds the banner's shadow layer, artwork button, and title label.

Parameters
frameThe banner's frame.
Returns
The initialised banner.
Ghidra address:
0x1fd02c
Ghidra address:
0x1fd02c

◆ setGenreInfo:

- (void) setGenreInfo: (nullable StorePackListGenre *) info

Fills the banner from a genre record and, when it has an artwork URL, starts a fetch.

Parameters
infoThe genre record.
Ghidra address:
0x1fd62c

◆ setSelectColor:

- (void) setSelectColor: (BOOL) selected

Applies the selected or unselected appearance to the banner's border, background, and shadow.

Parameters
selectedWhether the banner is selected.
Ghidra address:
0x1fd940
Ghidra address:
0x1fd940

◆ tapGenreBanner:

- (void) tapGenreBanner: (nonnull id) sender

The tap handler: tells the delegate the banner was tapped.

Parameters
senderThe banner button.
Ghidra address:
0x1fd88c

Property Documentation

◆ delegate

- (id) delegate
readwritenonatomicweak

The object told when the banner is tapped.

Weak and untyped in the metadata, so the dispatch goes through -respondsToSelector: rather than a declared conformance.


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