A campaign item's detail page.
More...
#include <CampaignDetailViewController.h>
|
| (instancetype) | - init |
| | Sets the navigation title and, where available, opts out of opaque-bar layout.
|
| (void) | - loadView |
| | Builds the gradient-backed root view, the pack-background art, the detail table, the campaign header, the loading overlay, and the terms and copyright labels.
|
| (void) | - setCampaignInfo: |
| | Stores the campaign item to display.
|
| (void) | - removeCampaignInfo |
| | Clears the stored campaign item.
|
| (void) | - updateCampaignState: |
| | Replaces the campaign item and forwards it to the header.
|
| (void) | - refreshCampaignItem: |
| | Swaps in a fresh campaign item: cancels the artwork download, stops the sample, reloads the info, and reloads the table.
|
| (void) | - showPackInfo |
| | Navigates to the pack info.
|
| (void) | - loadInfo |
| | Populates the header and table from the current item, downloads the artwork, and sizes the terms and licence labels to their text.
|
| (void) | - doPurchase: |
| | Header download-button tap: forwards to the owning controller's item download.
|
| (void) | - handleLink: |
| | Header link-button tap: forwards to the owning controller's external link.
|
| (void) | - productViewControllerDidFinish: |
| | SKStoreProductViewController finish: dismisses it, then clears the reference once the dismissal animation completes.
|
| (void) | - downloaderProceed: |
| | Downloader progress callback.
|
| (void) | - stopDownloadArtworks |
| | Cancels the artwork download and detaches its delegate.
|
| (void) | - removeItem |
| | Tears down the view references and cancels the artwork download.
|
| (void) | - detailClose |
| | Sends -detailClose to every cell that answers it, so the table can shut its rows.
|
| (void) | - imageDownloader:didLoad: |
| | Sent when the image has loaded.
|
A campaign item's detail page.
◆ detailClose
Sends -detailClose to every cell that answers it, so the table can shut its rows.
- Ghidra address:
- 0x1ea294
◆ doPurchase:
| - (void) doPurchase: |
|
(nullable id) | sender |
|
Header download-button tap: forwards to the owning controller's item download.
- Parameters
-
| sender | The download button. |
- Ghidra address:
- 0x1e9800
Reimplemented from <CampaignDetailHeaderViewDelegate>.
◆ downloaderProceed:
| - (void) downloaderProceed: |
|
(nullable id) | downloader |
|
Downloader progress callback.
The shipped body is empty.
- Parameters
-
- Ghidra address:
- 0x1e9910
◆ handleLink:
| - (void) handleLink: |
|
(nullable id) | sender |
|
◆ init
Sets the navigation title and, where available, opts out of opaque-bar layout.
- Returns
- The initialised controller.
- Ghidra address:
- 0x1e8b40
- Ghidra address:
- 0x1e8b40
◆ loadInfo
Populates the header and table from the current item, downloads the artwork, and sizes the terms and licence labels to their text.
- Ghidra address:
- 0x1e9568
◆ loadView
Builds the gradient-backed root view, the pack-background art, the detail table, the campaign header, the loading overlay, and the terms and copyright labels.
- Ghidra address:
- 0x1e8bfc
◆ productViewControllerDidFinish:
| - (void) productViewControllerDidFinish: |
|
(nonnull SKStoreProductViewController *) | viewController |
|
SKStoreProductViewController finish: dismisses it, then clears the reference once the dismissal animation completes.
- Parameters
-
| viewController | The finished product view controller. |
- Ghidra address:
- 0x1e9880
◆ refreshCampaignItem:
Swaps in a fresh campaign item: cancels the artwork download, stops the sample, reloads the info, and reloads the table.
- Parameters
-
| campaignInfo | The new campaign item. |
- Ghidra address:
- 0x1e94bc
◆ removeCampaignInfo
| - (void) removeCampaignInfo |
|
|
|
Clears the stored campaign item.
- Ghidra address:
- 0x1e9444
◆ removeItem
Tears down the view references and cancels the artwork download.
- Ghidra address:
- 0x1e9d30
◆ setCampaignInfo:
Stores the campaign item to display.
- Parameters
-
| campaignInfo | The campaign item. |
- Ghidra address:
- 0x1e9430
◆ showPackInfo
Navigates to the pack info.
The shipped body is empty.
- Ghidra address:
- 0x1e9564
- Ghidra address:
- 0x1e9564
◆ stopDownloadArtworks
| - (void) stopDownloadArtworks |
|
|
|
Cancels the artwork download and detaches its delegate.
- Ghidra address:
- 0x1e9dbc
◆ updateCampaignState:
Replaces the campaign item and forwards it to the header.
- Parameters
-
| campaignInfo | The new campaign item. |
- Ghidra address:
- 0x1e945c
◆ delegate
The page's delegate.
Held weakly.
- Ghidra address:
- 0x1ea3ac (getter)
- Ghidra address:
- 0x1ea3cc (setter)
◆ viewController
The store campaign controller that owns this page.
Held weakly.
- Ghidra address:
- 0x1ea3e0 (getter)
- Ghidra address:
- 0x1ea400 (setter)
The documentation for this class was generated from the following files: