15#import <UIKit/UIKit.h>
17NS_ASSUME_NONNULL_BEGIN
28@property(nonatomic, strong, nullable) UIActivityIndicatorView *
indicator;
39- (instancetype)initWithFrame:(CGRect)frame;
A dimming sheet with a centred activity indicator.
Definition ApplilinkIndicator.h:23
void show()
Shows the sheet and starts the spinner.
Definition ApplilinkIndicator.m:41
void layoutSubviews()
Centres the spinner in the sheet.
Definition ApplilinkIndicator.m:30
UIActivityIndicatorView * indicator
The spinner.
Definition ApplilinkIndicator.h:28
void touchEventActived()
Stops the sheet blocking: clears the dimming and lets touches through.
Definition ApplilinkIndicator.m:60
void close()
Hides the sheet, stops the spinner, and forgets it.
Definition ApplilinkIndicator.m:49