JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StoreLoadingView Class Reference

A spinner with a caption, swapped for a message when something fails. More...

#include <StoreLoadingView.h>

Inheritance diagram for StoreLoadingView:
Collaboration diagram for StoreLoadingView:

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.

Detailed Description

A spinner with a caption, swapped for a message when something fails.

Method Documentation

◆ initWithFrame:

- (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.

Parameters
frameThe overlay's frame. Every subview is centred against its size.
Returns
The initialised overlay.
Ghidra address:
0x1b98d0
Ghidra address:
0x1b98d0

◆ showError:

- (void) showError: (nullable NSString *) error

Replaces the spinner with a message.

Parameters
errorThe message to show.
Ghidra address:
0x1b9f6c

◆ startLoading

- (void) startLoading

Shows the spinner and its caption, and takes the error message away.

Ghidra address:
0x1b9dac

◆ stopLoading

- (void) stopLoading

Hides the overlay and takes the spinner and its caption away.

The spinner is removed rather than stopped; -stopAnimating is never sent.

Ghidra address:
0x1b9eb4
Ghidra address:
0x1b9eb4

The documentation for this class was generated from the following files: