RCTDevLoadingViewProtocol.h 538 B

123456789101112131415161718
  1. /*
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. #import <UIKit/UIKit.h>
  8. @class RCTLoadingProgress;
  9. @protocol RCTDevLoadingViewProtocol <NSObject>
  10. + (void)setEnabled:(BOOL)enabled;
  11. - (void)showMessage:(NSString *)message color:(UIColor *)color backgroundColor:(UIColor *)backgroundColor;
  12. - (void)showWithURL:(NSURL *)URL;
  13. - (void)updateProgress:(RCTLoadingProgress *)progress;
  14. - (void)hide;
  15. @end