2015-07-28 18:07:45 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
2018-02-17 02:24:55 +00: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 18:07:45 +00:00
|
|
|
*/
|
|
|
|
|
2018-03-14 18:04:56 +00:00
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
2016-11-23 15:47:52 +00:00
|
|
|
#import <React/RCTBridgeModule.h>
|
2015-07-28 18:07:45 +00:00
|
|
|
|
2017-04-20 15:20:03 +00:00
|
|
|
@class RCTLoadingProgress;
|
|
|
|
|
2015-08-08 09:58:30 +00:00
|
|
|
@interface RCTDevLoadingView : NSObject <RCTBridgeModule>
|
2015-07-28 18:07:45 +00:00
|
|
|
|
2015-09-04 10:44:55 +00:00
|
|
|
+ (void)setEnabled:(BOOL)enabled;
|
2018-03-14 18:04:56 +00:00
|
|
|
- (void)showMessage:(NSString *)message color:(UIColor *)color backgroundColor:(UIColor *)backgroundColor;
|
2017-05-02 16:52:47 +00:00
|
|
|
- (void)showWithURL:(NSURL *)URL;
|
2016-10-13 18:42:30 +00:00
|
|
|
- (void)updateProgress:(RCTLoadingProgress *)progress;
|
2017-05-02 16:52:47 +00:00
|
|
|
- (void)hide;
|
2015-09-04 10:44:55 +00:00
|
|
|
|
2015-07-28 18:07:45 +00:00
|
|
|
@end
|