2015-07-28 11:07:45 -07:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
2018-02-16 18:24:55 -08:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2015-07-28 11:07:45 -07:00
|
|
|
*/
|
|
|
|
|
2018-03-14 11:04:56 -07:00
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
2016-11-23 07:47:52 -08:00
|
|
|
#import <React/RCTBridgeModule.h>
|
2015-07-28 11:07:45 -07:00
|
|
|
|
2017-04-20 08:20:03 -07:00
|
|
|
@class RCTLoadingProgress;
|
|
|
|
|
2015-08-08 02:58:30 -07:00
|
|
|
@interface RCTDevLoadingView : NSObject <RCTBridgeModule>
|
2015-07-28 11:07:45 -07:00
|
|
|
|
2015-09-04 03:44:55 -07:00
|
|
|
+ (void)setEnabled:(BOOL)enabled;
|
2018-03-14 11:04:56 -07:00
|
|
|
- (void)showMessage:(NSString *)message color:(UIColor *)color backgroundColor:(UIColor *)backgroundColor;
|
2017-05-02 09:52:47 -07:00
|
|
|
- (void)showWithURL:(NSURL *)URL;
|
2016-10-13 11:42:30 -07:00
|
|
|
- (void)updateProgress:(RCTLoadingProgress *)progress;
|
2017-05-02 09:52:47 -07:00
|
|
|
- (void)hide;
|
2015-09-04 03:44:55 -07:00
|
|
|
|
2015-07-28 11:07:45 -07:00
|
|
|
@end
|