2015-10-26 22:39:06 +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.
|
|
|
|
*/
|
|
|
|
|
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 ()
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This setter should be used only by RCTUIManager on react root view size update.
|
|
|
|
*/
|
|
|
|
@property (readwrite, nonatomic, assign) CGSize intrinsicSize;
|
|
|
|
|
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
|
|
|
|
|
2015-10-26 22:39:06 +00:00
|
|
|
@end
|