A tappable tile showing one pack's artwork, name, comment, price, and status markers.
More...
#include <StorePackView.h>
|
| (instancetype) | - initWithFrame: |
| | Builds the tile's seven subviews.
|
| (void) | - setBgImage: |
| | Sets the tile's background image.
|
| (void) | - handleTap: |
| | The tap handler: tells the delegate the tile was selected.
|
| (void) | - loadPackInfo:index: |
| | Fills the tile's labels and markers from a pack's info.
|
|
| id | delegate |
| | The object told when the tile is tapped.
|
| UIImageView * | artworkView |
| | The tile's artwork view.
|
| NSUInteger | index |
| | The tile's position in the pack list, as last given to -loadPackInfo:index: .
|
A tappable tile showing one pack's artwork, name, comment, price, and status markers.
◆ handleTap:
| - (void) handleTap: |
|
(nonnull UITapGestureRecognizer *) | recognizer |
|
The tap handler: tells the delegate the tile was selected.
- Parameters
-
| recognizer | The tap recogniser. |
- Ghidra address:
- 0xca9fc
◆ initWithFrame:
| - (instancetype) initWithFrame: |
|
(CGRect) | frame |
|
Builds the tile's seven subviews.
- Parameters
-
- Returns
- The initialised tile.
- Ghidra address:
- 0xc9dd0
- Ghidra address:
- 0xc9dd0
◆ loadPackInfo:index:
| - (void) loadPackInfo: |
|
(nullable StorePackInfo *) | packInfo |
| index: |
|
(NSUInteger) | index |
Fills the tile's labels and markers from a pack's info.
- Parameters
-
| packInfo | The pack to display. |
| index | The tile's position in the pack list. |
- Ghidra address:
- 0xcaab0
◆ setBgImage:
| - (void) setBgImage: |
|
(nullable UIImage *) | image |
|
Sets the tile's background image.
- Parameters
-
| image | The background image. |
- Ghidra address:
- 0xca9e4
◆ artworkView
| - (UIImageView*) artworkView |
|
readwritenonatomicstrong |
The tile's artwork view.
- Ghidra address:
- 0xcad30 (getter)
◆ delegate
The object told when the tile is tapped.
Weak and untyped in the metadata, so the dispatch goes through -respondsToSelector: rather than a declared conformance. StoreTableCell nils this in its -dealloc.
◆ index
The tile's position in the pack list, as last given to -loadPackInfo:index: .
- Ghidra address:
- 0xcad20 (getter)
The documentation for this class was generated from the following files: