|
JubeatPlus 3.9.11
|
A purchase row: a tappable plate carrying the cube count, a label plate, and two labels. More...
#include <CubePurchaseListViewCell.h>


Instance Methods | |
| (instancetype) | - initWithStyle:reuseIdentifier:tag: |
| Builds the row's subviews at the metrics for the current device idiom. | |
| (void) | - setBgImage:info:cache:aDelegate: |
| Fills the row in, loading digit artwork through a caller-owned cache. | |
Properties | |
| id | aDelegate |
| The object the row's button targets. | |
| UIButton * | addBtn |
| Declared readonly and never assigned by any method this class defines, so always nil. | |
A purchase row: a tappable plate carrying the cube count, a label plate, and two labels.
The cube count is drawn digit by digit from per-digit artwork rather than as text, which is why the row owns a fixed five-element array of image views.
| - (instancetype) initWithStyle: | (UITableViewCellStyle) | style | |
| reuseIdentifier: | (nullable NSString *) | reuseIdentifier | |
| tag: | (int) | tag |
Builds the row's subviews at the metrics for the current device idiom.
| style | Passed straight through to UITableViewCell. |
| reuseIdentifier | Passed straight through to UITableViewCell. |
| tag | Set on the row's button so a tap can be traced back to its row. |
| - (void) setBgImage: | (nullable UIImage *) | bgImg | |
| info: | (nullable CubePurchaseInfo *) | info | |
| cache: | (nullable NSMutableDictionary *) | cache | |
| aDelegate: | (nullable id) | aDelegate |
Fills the row in, loading digit artwork through a caller-owned cache.
| bgImg | The plate drawn behind the whole row, set as the button's normal background. |
| info | The pack whose count, price and description the row shows. |
| cache | A dictionary the row reads and writes, keyed by digit number and by the plate's resource name, so the artwork is loaded once across all rows. |
| aDelegate | The object the button targets. Used and discarded, not retained in the ivar. |
|
readnonatomicassign |
Declared readonly and never assigned by any method this class defines, so always nil.
|
readwritenonatomicweak |
The object the row's button targets.
Weak, per the W attribute in the runtime metadata, and genuinely untyped — the metadata encodes it as a bare @ with no protocol. It expects tapPurchaseBtn: .
Note that -setBgImage:info:cache:aDelegate: does not write this ivar; it uses its own aDelegate argument as the button's target and discards it.