Swiftgram/LegacyComponents/TGProgressWindow.h
Ilya Laktyushin 53480a35a2 no message
2017-12-23 03:21:01 +04:00

28 lines
578 B
Objective-C

#import <UIKit/UIKit.h>
#import <LegacyComponents/TGOverlayControllerWindow.h>
@interface TGProgressWindowController : TGOverlayWindowViewController
- (instancetype)init;
- (void)show:(bool)animated;
- (void)dismiss:(bool)animated completion:(void (^)())completion;
@end
@interface TGProgressWindow : UIWindow
@property (nonatomic, assign) bool skipMakeKeyWindowOnDismiss;
- (void)show:(bool)animated;
- (void)showWithDelay:(NSTimeInterval)delay;
- (void)showAnimated;
- (void)dismiss:(bool)animated;
- (void)dismissWithSuccess;
+ (void)setDarkStyle:(bool)dark;
@end