|
JubeatPlus 3.9.11
|
A spinner with a caption, swapped for a message when something fails. More...
#include <StoreLoadingView.h>


Instance Methods | |
| (instancetype) | - initWithFrame: |
| Builds the spinner and the two labels. | |
| (void) | - startLoading |
| Shows the spinner and its caption, and takes the error message away. | |
| (void) | - stopLoading |
| Hides the overlay and takes the spinner and its caption away. | |
| (void) | - showError: |
| Replaces the spinner with a message. | |
A spinner with a caption, swapped for a message when something fails.
| - (instancetype) initWithFrame: | (CGRect) | frame |
Builds the spinner and the two labels.
None of the three is added to the hierarchy here; -startLoading and -showError: do that.
| frame | The overlay's frame. Every subview is centred against its size. |
| - (void) showError: | (nullable NSString *) | error |
Replaces the spinner with a message.
| error | The message to show. |
| - (void) startLoading |
Shows the spinner and its caption, and takes the error message away.
| - (void) stopLoading |
Hides the overlay and takes the spinner and its caption away.
The spinner is removed rather than stopped; -stopAnimating is never sent.