2015-10-26 22:39:06 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
2018-02-17 02:24:55 +00:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2015-10-26 22:39:06 +00:00
|
|
|
*/
|
|
|
|
|
2016-11-23 15:47:52 +00:00
|
|
|
#import <React/RCTRootView.h>
|
2015-10-26 22:39:06 +00:00
|
|
|
|
2016-12-19 14:26:07 +00:00
|
|
|
@class RCTTVRemoteHandler;
|
|
|
|
|
2015-10-26 22:39:06 +00:00
|
|
|
/**
|
|
|
|
* The interface provides a set of functions that allow other internal framework
|
|
|
|
* classes to change the RCTRootViews's internal state.
|
|
|
|
*/
|
|
|
|
@interface RCTRootView ()
|
|
|
|
|
|
|
|
/**
|
2017-02-27 18:47:30 +00:00
|
|
|
* This setter should be used only by RCTUIManager on react root view
|
|
|
|
* intrinsic content size update.
|
2015-10-26 22:39:06 +00:00
|
|
|
*/
|
2017-02-27 18:47:30 +00:00
|
|
|
@property (readwrite, nonatomic, assign) CGSize intrinsicContentSize;
|
2015-10-26 22:39:06 +00:00
|
|
|
|
2016-12-19 14:26:07 +00:00
|
|
|
/**
|
|
|
|
* TV remote gesture recognizers
|
|
|
|
*/
|
|
|
|
#if TARGET_OS_TV
|
|
|
|
@property (nonatomic, strong) RCTTVRemoteHandler *tvRemoteHandler;
|
|
|
|
@property (nonatomic, strong) UIView *reactPreferredFocusedView;
|
|
|
|
#endif
|
|
|
|
|
2017-02-20 07:05:44 +00:00
|
|
|
- (void)contentViewInvalidated;
|
|
|
|
|
2015-10-26 22:39:06 +00:00
|
|
|
@end
|