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

A genre heading with a title, a description, and an optional downloaded banner. More...

#include <StoreGenreTitleView.h>

Inheritance diagram for StoreGenreTitleView:
Collaboration diagram for StoreGenreTitleView:

Instance Methods

(instancetype) - initWithFrame:
 Builds the heading, differently per idiom.
(int) - setGenreTitleInfo:
 Fills the heading in from a genre record, and reports how tall it needs to be.
(void) - setBannerImage:
 Puts a banner up and fades it in.
(void) - downloaderFinished:
 Takes the fetched banner, and caches it under its address.
Instance Methods inherited from <DownloaderDelegate>
(void) - downloaderProceed:
 Sent periodically as data arrives, and once more on completion.
(void) - downloaderError:
 Sent when the request fails.

Properties

id< StoreGenreTitleViewDelegate > delegate
 The object told about the heading's events.

Detailed Description

A genre heading with a title, a description, and an optional downloaded banner.

Method Documentation

◆ downloaderFinished:

- (void) downloaderFinished: (id) downloader

Takes the fetched banner, and caches it under its address.

Ignores any downloader that is not the one this view started.

Parameters
downloaderThe finished fetch.
Ghidra address:
0x1b4178
Ghidra address:
0x1b4178

Reimplemented from <DownloaderDelegate>.

◆ initWithFrame:

- (instancetype) initWithFrame: (CGRect) frame

Builds the heading, differently per idiom.

Parameters
frameThe heading's frame.
Returns
The initialised heading.
Ghidra address:
0x1b37b8
Ghidra address:
0x1b37b8

◆ setBannerImage:

- (void) setBannerImage: (nullable UIImage *) image

Puts a banner up and fades it in.

The fade is driven from zero every time, so re-setting the image replays the animation.

Parameters
imageThe banner.
Ghidra address:
0x1b3ff0

◆ setGenreTitleInfo:

- (int) setGenreTitleInfo: (nullable StorePackListGenre *) info

Fills the heading in from a genre record, and reports how tall it needs to be.

On the pad this also starts a banner fetch, unless the cache already holds one. On the phone the comment is re-fitted and centred instead.

Parameters
infoThe genre record.
Returns
The heading's required height, or zero when the genre has no description on the phone.
Ghidra address:
0x1b3b3c

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