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

A three-line description with a fixed-size download button at its trailing edge. More...

#include <MissionAchieveDownloadPageViewCell.h>

Inheritance diagram for MissionAchieveDownloadPageViewCell:
Collaboration diagram for MissionAchieveDownloadPageViewCell:

Instance Methods

(instancetype) - initWithStyle:reuseIdentifier:
 Builds the plate, the label and the button at the metrics for the current idiom.
(void) - setBgImage:text:btnEnable:
 Fills the row in and sets the button's enabled appearance.
(void) - tapDownload:
 The download button's action.

Properties

id aDelegate
 The object told when the download button is tapped.

Detailed Description

A three-line description with a fixed-size download button at its trailing edge.

Method Documentation

◆ initWithStyle:reuseIdentifier:

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

Builds the plate, the label and the button 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:
0x1ecdd0

◆ setBgImage:text:btnEnable:

- (void) setBgImage: (nullable UIImage *) bgImg
text: (nullable NSString *) text
btnEnable: (BOOL) btnEnable 

Fills the row in and sets the button's enabled appearance.

Note the button's enabled state is never touched — only its background colour changes, so a "disabled" button still reports taps.

Parameters
bgImgThe plate drawn behind the row.
textThe row's text, wrapped over up to three lines.
btnEnableGreen when YES, grey when NO.
Ghidra address:
0x1ed110

◆ tapDownload:

- (void) tapDownload: (id) sender

The download button's action.

Parameters
senderThe button. Unused — the delegate is handed the cell instead.
Ghidra address:
0x1ed208
Ghidra address:
0x1ed208

Property Documentation

◆ aDelegate

- (id) aDelegate
readwritenonatomicweak

The object told when the download button is tapped.

Weak, per the W attribute in the metadata, and encoded as a bare @ with no protocol, so the dispatch goes through -respondsToSelector: rather than a declared conformance.

Ghidra address:
0x1ed2bc (getter)

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