Swiftgram/LegacyComponents/TGProgressWindow.h
Ilya Laktyushin f8959d68e0 no message
2017-12-07 18:22:34 +04:00

28 lines
590 B
Objective-C

#import <UIKit/UIKit.h>
#import <LegacyComponents/TGOverlayControllerWindow.h>
@interface TGProgressWindowController : TGOverlayWindowViewController
- (instancetype)init:(bool)light;
- (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