A rounded panel with a spinner, a one-line message, a progress bar and an abort button.
More...
#include <StoreDialogView.h>
|
| (instancetype) | - initWithFrame: |
| | Builds the panel's four subviews.
|
| (void) | - layout: |
| | Switches the panel between its message-only and its progress modes.
|
| (void) | - btnAbort: |
| | The abort button's action.
|
|
| id | delegate |
| | The object told when the panel is aborted.
|
|
UIActivityIndicatorView * | indicatorView |
| | The spinner, at a fixed forty points square.
|
|
UILabel * | labelMessage |
| | The single-line status message.
|
|
UIProgressView * | progressView |
| | The download progress bar.
|
|
StoreButton * | buttonAbort |
| | The abort button.
|
A rounded panel with a spinner, a one-line message, a progress bar and an abort button.
The panel is built at a fixed internal layout and then switched between two modes by -layout: , which hides or shows the bar and the button and moves the message to suit.
◆ btnAbort:
| - (void) btnAbort: |
|
(id) | sender |
|
The abort button's action.
- Parameters
-
| sender | The button. Unused — the delegate is handed the panel. |
- Ghidra address:
- 0xd77cc
- Ghidra address:
- 0xd77cc
◆ initWithFrame:
| - (instancetype) initWithFrame: |
|
(CGRect) | frame |
|
Builds the panel's four subviews.
- Parameters
-
| frame | The panel's frame. Every subview's position is derived from its size. |
- Returns
- The initialised panel.
- Ghidra address:
- 0xd6c20
- Ghidra address:
- 0xd6c20
◆ layout:
| - (void) layout: |
|
(BOOL) | hidden |
|
Switches the panel between its message-only and its progress modes.
- Parameters
-
| hidden | YES hides the bar and the button and drops the message ten points below centre; NO shows them and lifts the message ten points above it. |
- Ghidra address:
- 0xd765c
- Ghidra address:
- 0xd765c
◆ delegate
The object told when the panel is aborted.
Weak and untyped in the metadata, so the dispatch goes through -respondsToSelector: rather than a declared conformance.
The documentation for this class was generated from the following files: