A pack's detail header: artwork with its reflection, name, comment, purchase and extend buttons, a related-site link, a relation-tab strip, and a "new" marker.
More...
#include <StoreDetailHeaderViewV2.h>
|
| (instancetype) | - initWithFrame: |
| | Builds the header's subviews.
|
| (void) | - loadPackInfo: |
| | Lays the header out for a pack: sizes the name and comment to their text, positions the link button, moves the relation strip below the content, and resizes the header to fit.
|
| (void) | - setArtwork: |
| | Sets the artwork and rebuilds its reflection.
|
| (void) | - setRelationColor:selectable: |
| | Colours the relation-tab strip for a selected tab.
|
| (void) | - tapRelationButton: |
| | Handles a tap on a relation-tab button.
|
| (void) | - alertSelect: |
| | Sent when the user taps a button in an alert built with makeAlert:.
|
| (void) | - alertClose: |
| | Sent when a UIAlertController -based alert finishes dismissing.
|
A pack's detail header: artwork with its reflection, name, comment, purchase and extend buttons, a related-site link, a relation-tab strip, and a "new" marker.
◆ initWithFrame:
| - (instancetype) initWithFrame: |
|
(CGRect) | frame |
|
Builds the header's subviews.
- Parameters
-
- Returns
- The initialised header.
- Ghidra address:
- 0x1a5154
- Ghidra address:
- 0x1a5154
◆ loadPackInfo:
Lays the header out for a pack: sizes the name and comment to their text, positions the link button, moves the relation strip below the content, and resizes the header to fit.
- Parameters
-
| packInfo | The pack to display. |
- Ghidra address:
- 0x1a6370
◆ setArtwork:
| - (void) setArtwork: |
|
(nullable UIImage *) | artwork |
|
Sets the artwork and rebuilds its reflection.
- Parameters
-
| artwork | The artwork image. |
- Ghidra address:
- 0x1a6e54
◆ setRelationColor:selectable:
| - (void) setRelationColor: |
|
(int) | selectedIndex |
| selectable: |
|
(BOOL) | selectable |
Colours the relation-tab strip for a selected tab.
- Parameters
-
| selectedIndex | The index of the currently selected tab. |
| selectable | Whether the unselected tabs read as tappable (accent) or dimmed (grey). |
- Ghidra address:
- 0x1a6ffc
- Ghidra address:
- 0x1a6ffc
◆ tapRelationButton:
| - (void) tapRelationButton: |
|
(nullable id) | sender |
|
Handles a tap on a relation-tab button.
- Parameters
-
- Ghidra address:
- 0x1a6fec
◆ buttonExtendDownload
| - (UIButton*) buttonExtendDownload |
|
readwritenonatomicstrong |
The "download extension" button, hidden unless the pack has an extension.
- Ghidra address:
- 0x1a72f0 (getter)
◆ buttonLink
The related-site link button.
- Ghidra address:
- 0x1a7314 (getter)
◆ buttonPurchase
The purchase button.
- Ghidra address:
- 0x1a72cc (getter)
◆ labelComment
| - (UILabel*) labelComment |
|
readwritenonatomicstrong |
The pack's description label.
- Ghidra address:
- 0x1a72a8 (getter)
◆ labelName
The pack's title label.
- Ghidra address:
- 0x1a7284 (getter)
◆ relationBtnArray
| - (NSArray*) relationBtnArray |
|
readnonatomicassign |
The two relation-tab buttons of the relation strip.
- Ghidra address:
- 0x1a7324 (getter)
The documentation for this class was generated from the following files: