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

Two pack tiles filling the row's width, each taking half of it. More...

#include <StoreRecommendTableCell.h>

Inheritance diagram for StoreRecommendTableCell:
Collaboration diagram for StoreRecommendTableCell:

Instance Methods

(instancetype) - initWithFrame:reuseIdentifier:
 Builds the row, splitting the supplied frame's width between the two tiles.
(instancetype) - initWithStyle:reuseIdentifier:
 Builds the row at a fixed tile width instead of measuring one.

Properties

StoreRecommendPackView * leftPackView
 The tile occupying the leading half.
StoreRecommendPackView * rightPackView
 The tile occupying the trailing half.

Detailed Description

Two pack tiles filling the row's width, each taking half of it.

Both tiles go on the cell's contentView rather than on the cell itself, which is the difference between this and the other list rows in this tree.

Method Documentation

◆ initWithFrame:reuseIdentifier:

- (instancetype) initWithFrame: (CGRect) frame
reuseIdentifier: (nullable NSString *) reuseIdentifier 

Builds the row, splitting the supplied frame's width between the two tiles.

Chains to UITableViewCell's own -initWithStyle:reuseIdentifier: with the default style, so only the frame's width is used and its origin and height are discarded.

Parameters
frameThe row's frame. Only size.width is read.
reuseIdentifierPassed straight through.
Returns
The initialised cell.
Ghidra address:
0x165bf4

◆ initWithStyle:reuseIdentifier:

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

Builds the row at a fixed tile width instead of measuring one.

Otherwise identical to the frame-taking initialiser above.

Parameters
stylePassed straight through to UITableViewCell.
reuseIdentifierPassed straight through.
Returns
The initialised cell.
Ghidra address:
0x165d88

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