|
JubeatPlus 3.9.11
|
A table row showing one pack's artwork, name, price and status markers. More...
#include <StorePackCell.h>


Instance Methods | |
| (instancetype) | - initWithStyle:reuseIdentifier: |
| Builds the row's six subviews. | |
| (void) | - loadPackInfo: |
| Fills the row in from a pack. | |
| (void) | - setBgImage: |
| Sets the row's background artwork. | |
Properties | |
| UIImageView * | artworkView |
| The row's artwork view. | |
| BOOL | isPurchased |
| Whether the row shows its owned marker. | |
A table row showing one pack's artwork, name, price and status markers.
The row's six subviews are ivars rather than properties; only the artwork is exposed, and only for reading.
| - (instancetype) initWithStyle: | (UITableViewCellStyle) | style | |
| reuseIdentifier: | (nullable NSString *) | reuseIdentifier |
Builds the row's six subviews.
The background image view becomes the cell's backgroundView rather than a subview. The other six go on the content view, and their horizontal frames are measured against its width once, with autoresizing masks carrying them through any later change.
| style | The cell style. |
| reuseIdentifier | The reuse identifier. |
| - (void) loadPackInfo: | (nullable StorePackInfo *) | packInfo |
Fills the row in from a pack.
A pack whose purchase is merely pending shows as owned, since the purchased marker is driven by -isPurchased: or -isPending: .
| packInfo | The pack to show. |
| - (void) setBgImage: | (nullable UIImage *) | bgImg |
Sets the row's background artwork.
| bgImg | The artwork. |
|
readnonatomicstrong |
The row's artwork view.
|
readwritenonatomicassign |
Whether the row shows its owned marker.
There is no backing ivar: the property is stored in the purchased label's own visibility, and both accessors invert it.