JubeatPlus 3.9.11
Loading...
Searching...
No Matches
ApplilinkIndicator.h
Go to the documentation of this file.
1
14
15#import <UIKit/UIKit.h>
16
17NS_ASSUME_NONNULL_BEGIN
18
22@interface ApplilinkIndicator : UIView
23
28@property(nonatomic, strong, nullable) UIActivityIndicatorView *indicator;
29
39- (instancetype)initWithFrame:(CGRect)frame;
40
45- (void)layoutSubviews;
46
51- (void)show;
52
60- (void)close;
61
69- (void)touchEventActived;
70
71@end
72
73NS_ASSUME_NONNULL_END
74
75// code: language=Objective-C
76// kate: hl Objective-C;
77// vim: set ft=objc :
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