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

A ranking row: rank, name and score across the plate, with a two-digit badge at its leading edge. More...

#include <ChallengeRankingListViewCell.h>

Inheritance diagram for ChallengeRankingListViewCell:
Collaboration diagram for ChallengeRankingListViewCell:

Instance Methods

(instancetype) - initWithStyle:reuseIdentifier:
 Builds the plate, the three labels and the badge at the metrics for the current idiom.
(void) - setRivalInfo:rank:name:score:
 Fills the row in, and re-frames the plate.
(void) - setRivalIcon:digit1Image:digit2Image:
 Sets the badge and its two digits.

Properties

id aDelegate
 Weak and untyped, per the metadata.

Detailed Description

A ranking row: rank, name and score across the plate, with a two-digit badge at its leading edge.

Method Documentation

◆ initWithStyle:reuseIdentifier:

- (instancetype) initWithStyle: (UITableViewCellStyle) style
reuseIdentifier: (nullable NSString *) reuseIdentifier 

Builds the plate, the three labels and the badge at the metrics for the current idiom.

Parameters
styleThe cell style.
reuseIdentifierThe reuse identifier, or nil for a non-reusable cell.
Returns
The initialised cell.
Ghidra address:
0x153f88

◆ setRivalIcon:digit1Image:digit2Image:

- (void) setRivalIcon: (nullable UIImage *) rivalIcon
digit1Image: (nullable UIImage *) digit1Image
digit2Image: (nullable UIImage *) digit2Image 

Sets the badge and its two digits.

The two digit views are laid out right-aligned inside the badge and abut exactly, with digit1Image in the trailing slot and digit2Image in the leading one — so the first argument is the lower-order digit.

Parameters
rivalIconThe badge artwork.
digit1ImageThe trailing digit.
digit2ImageThe leading digit.
Ghidra address:
0x154648

◆ setRivalInfo:rank:name:score:

- (void) setRivalInfo: (nullable UIImage *) rivalInfo
rank: (nullable NSString *) rank
name: (nullable NSString *) name
score: (nullable NSString *) score 

Fills the row in, and re-frames the plate.

Note it sets the plate's frame on every call rather than leaving the one the initialiser gave it, so the plate's size is re-established from the device idiom each time.

Parameters
rivalInfoThe plate artwork.
rankThe rank text.
nameThe rival's name.
scoreThe score text.
Ghidra address:
0x1544d0

Property Documentation

◆ aDelegate

- (id) aDelegate
readwritenonatomicweak

Weak and untyped, per the metadata.

Nothing this class defines reads it.

Ghidra address:
0x154704 (getter)

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