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

A table cell showing one campaign's artwork banner. More...

#include <StoreCampaignTableViewCell.h>

Inheritance diagram for StoreCampaignTableViewCell:
Collaboration diagram for StoreCampaignTableViewCell:

Instance Methods

(instancetype) - initWithDeviceType:reuseIdentifier:tag:
 Builds the cell for a device idiom.
(void) - setInfo:tag:
 Fills the cell from a campaign info object and sets its tag.
(CGSize) - getArtworkMargin:
 The top-left inset of the square artwork banner for the device idiom.
(CGSize) - getItemSize:
 The full item size of a non-square banner for the device idiom.

Class Methods

(CGFloat) + cellHeight:
 The cell's height for a device idiom.

Properties

StoreImageView * artworkView
 The campaign artwork view.
id ctrlDelegate
 The controller told when the cell is tapped.
int campaignID
 The displayed campaign's identifier.

Detailed Description

A table cell showing one campaign's artwork banner.

Method Documentation

◆ cellHeight:

+ (CGFloat) cellHeight: (BOOL) isPad
Initial value:
{
int _campaignID

The cell's height for a device idiom.

Parameters
isPadWhether the device is a pad.
Returns
The row height (180 on a pad, 80 otherwise).
Ghidra address:
0xcb700
Ghidra address:
0xcb700

◆ getArtworkMargin:

- (CGSize) getArtworkMargin: (BOOL) isPad

The top-left inset of the square artwork banner for the device idiom.

Parameters
isPadWhether the pad metrics apply.
Ghidra address:
0xcb71c
Ghidra address:
0xcb71c

◆ getItemSize:

- (CGSize) getItemSize: (BOOL) isPad

The full item size of a non-square banner for the device idiom.

Parameters
isPadWhether the pad metrics apply.
Ghidra address:
0xcb73c
Ghidra address:
0xcb73c

◆ initWithDeviceType:reuseIdentifier:tag:

- (instancetype) initWithDeviceType: (BOOL) isPad
reuseIdentifier: (nullable NSString *) reuseIdentifier
tag: (int) tag 

Builds the cell for a device idiom.

Parameters
isPadWhether the device is a pad.
reuseIdentifierThe table's reuse identifier.
tagThe cell's tag.
Returns
The initialised cell.
Ghidra address:
0xcb09c

◆ setInfo:tag:

- (void) setInfo: (nullable id) info
tag: (int) tag 

Fills the cell from a campaign info object and sets its tag.

Parameters
infoThe campaign info (a CampaignItemInfo ; typed id until reconstructed).
tagThe cell's tag.
Ghidra address:
0xcb694

Property Documentation

◆ artworkView

- (StoreImageView*) artworkView
readwritenonatomicstrong

The campaign artwork view.

Ghidra address:
0xcb7c8 (getter)

◆ campaignID

- (int) campaignID
readnonatomicassign

The displayed campaign's identifier.

Ghidra address:
0xcb820 (getter)

◆ ctrlDelegate

- (id) ctrlDelegate
readwritenonatomicweak

The controller told when the cell is tapped.

Held weakly; typed id until StoreCampaignViewController is reconstructed (see TYPES_PENDING.md).

Ghidra address:
0xcb7ec (getter)

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