RCTRootContentView.h 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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. #import <React/RCTInvalidating.h>
  9. #import <React/RCTRootView.h>
  10. #import <React/RCTView.h>
  11. @class RCTBridge;
  12. @class RCTTouchHandler;
  13. @interface RCTRootContentView : RCTView <RCTInvalidating>
  14. @property (nonatomic, readonly, weak) RCTBridge *bridge;
  15. @property (nonatomic, readonly, assign) BOOL contentHasAppeared;
  16. @property (nonatomic, readonly, strong) RCTTouchHandler *touchHandler;
  17. @property (nonatomic, readonly, assign) CGSize availableSize;
  18. @property (nonatomic, assign) BOOL passThroughTouches;
  19. @property (nonatomic, assign) RCTRootViewSizeFlexibility sizeFlexibility;
  20. - (instancetype)initWithFrame:(CGRect)frame
  21. bridge:(RCTBridge *)bridge
  22. reactTag:(NSNumber *)reactTag
  23. sizeFlexiblity:(RCTRootViewSizeFlexibility)sizeFlexibility NS_DESIGNATED_INITIALIZER;
  24. @end