RCTWrapperViewControllerHostingView.h 746 B

12345678910111213141516171819202122232425
  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. NS_ASSUME_NONNULL_BEGIN
  9. @interface RCTWrapperViewControllerHostingView : UIView
  10. @property (nonatomic, retain, nullable) UIViewController *contentViewController;
  11. #pragma mark - Restrictions
  12. - (void)addSubview:(UIView *)view NS_UNAVAILABLE;
  13. - (void)insertSubview:(UIView *)view atIndex:(NSInteger)index NS_UNAVAILABLE;
  14. - (void)insertSubview:(UIView *)view aboveSubview:(UIView *)siblingSubview NS_UNAVAILABLE;
  15. - (void)insertSubview:(UIView *)view belowSubview:(UIView *)siblingSubview NS_UNAVAILABLE;
  16. @end
  17. NS_ASSUME_NONNULL_END