2017-02-20 07:05:44 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the BSD-style license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
|
|
|
#import <React/RCTInvalidating.h>
|
|
|
|
#import <React/RCTRootView.h>
|
|
|
|
#import <React/RCTView.h>
|
|
|
|
|
|
|
|
@class RCTBridge;
|
|
|
|
@class RCTTouchHandler;
|
|
|
|
|
|
|
|
@interface RCTRootContentView : RCTView <RCTInvalidating>
|
|
|
|
|
2017-04-21 13:53:28 +00:00
|
|
|
@property (nonatomic, readonly, weak) RCTBridge *bridge;
|
|
|
|
@property (nonatomic, readonly, assign) BOOL contentHasAppeared;
|
2017-02-20 07:05:44 +00:00
|
|
|
@property (nonatomic, readonly, strong) RCTTouchHandler *touchHandler;
|
2017-04-21 13:53:28 +00:00
|
|
|
@property (nonatomic, readonly, assign) CGSize availableSize;
|
|
|
|
|
2017-02-20 07:05:44 +00:00
|
|
|
@property (nonatomic, assign) BOOL passThroughTouches;
|
|
|
|
@property (nonatomic, assign) RCTRootViewSizeFlexibility sizeFlexibility;
|
|
|
|
|
|
|
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
|
|
bridge:(RCTBridge *)bridge
|
|
|
|
reactTag:(NSNumber *)reactTag
|
|
|
|
sizeFlexiblity:(RCTRootViewSizeFlexibility)sizeFlexibility NS_DESIGNATED_INITIALIZER;
|
|
|
|
|
|
|
|
@end
|