A pack's detail header: artwork with its reflection, name, comment, purchase and extend buttons, a related-site link, and a "new" marker.
More...
#include <StoreDetailHeaderView.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, resizes the header to fit, and shows the "new" marker when appropriate.
|
| (void) | - setArtwork: |
| | Sets the artwork and rebuilds its reflection.
|
| (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, and a "new" marker.
◆ initWithFrame:
| - (instancetype) initWithFrame: |
|
(CGRect) | frame |
|
Builds the header's subviews.
- Parameters
-
- Returns
- The initialised header.
- Ghidra address:
- 0xf9074
- Ghidra address:
- 0xf9074
◆ loadPackInfo:
Lays the header out for a pack: sizes the name and comment to their text, positions the link button, resizes the header to fit, and shows the "new" marker when appropriate.
- Parameters
-
| packInfo | The pack to display. |
- Ghidra address:
- 0xf9dc4
◆ setArtwork:
| - (void) setArtwork: |
|
(nullable UIImage *) | artwork |
|
Sets the artwork and rebuilds its reflection.
- Parameters
-
| artwork | The artwork image. |
- Ghidra address:
- 0xfa84c
◆ buttonExtendDownload
| - (UIButton*) buttonExtendDownload |
|
readwritenonatomicstrong |
The "download extension" button, hidden unless the pack has an extension.
- Ghidra address:
- 0xfaa50 (getter)
◆ buttonLink
The related-site link button.
- Ghidra address:
- 0xfaa74 (getter)
◆ buttonPurchase
The purchase button.
- Ghidra address:
- 0xfaa2c (getter)
◆ labelComment
| - (UILabel*) labelComment |
|
readwritenonatomicstrong |
The pack's description label.
- Ghidra address:
- 0xfaa08 (getter)
◆ labelName
The pack's title label.
- Ghidra address:
- 0xfa9e4 (getter)
The documentation for this class was generated from the following files: