mirror of
https://github.com/status-im/react-native.git
synced 2025-01-21 14:58:55 +00:00
006b77f1ae
Reviewed By: shergin Differential Revision: D7119220 fbshipit-source-id: 7a822036e29e0d92f53a164acba2ab75e883b5c4
41 lines
1.3 KiB
Objective-C
41 lines
1.3 KiB
Objective-C
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import <React/RCTInvalidating.h>
|
|
#import <React/RCTRootView.h>
|
|
#import <React/RCTView.h>
|
|
|
|
@class RCTBridge;
|
|
@class RCTTouchHandler;
|
|
|
|
@interface RCTRootContentView : RCTView <RCTInvalidating>
|
|
|
|
@property (nonatomic, readonly, weak) RCTBridge *bridge;
|
|
@property (nonatomic, readonly, assign) BOOL contentHasAppeared;
|
|
@property (nonatomic, readonly, strong) RCTTouchHandler *touchHandler;
|
|
@property (nonatomic, readonly, assign) CGSize availableSize;
|
|
|
|
@property (nonatomic, assign) BOOL passThroughTouches;
|
|
@property (nonatomic, assign) RCTRootViewSizeFlexibility sizeFlexibility;
|
|
|
|
@property (nonatomic, assign) BOOL fabric;
|
|
|
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
bridge:(RCTBridge *)bridge
|
|
reactTag:(NSNumber *)reactTag
|
|
sizeFlexiblity:(RCTRootViewSizeFlexibility)sizeFlexibility
|
|
fabric:(BOOL)fabric NS_DESIGNATED_INITIALIZER;
|
|
|
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
bridge:(RCTBridge *)bridge
|
|
reactTag:(NSNumber *)reactTag
|
|
sizeFlexiblity:(RCTRootViewSizeFlexibility)sizeFlexibility;
|
|
|
|
@end
|