RCTRootViewInternal.h 839 B

12345678910111213141516171819202122232425262728293031323334
  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 <React/RCTRootView.h>
  8. @class RCTTVRemoteHandler;
  9. /**
  10. * The interface provides a set of functions that allow other internal framework
  11. * classes to change the RCTRootViews's internal state.
  12. */
  13. @interface RCTRootView ()
  14. /**
  15. * This setter should be used only by RCTUIManager on react root view
  16. * intrinsic content size update.
  17. */
  18. @property (readwrite, nonatomic, assign) CGSize intrinsicContentSize;
  19. /**
  20. * TV remote gesture recognizers
  21. */
  22. #if TARGET_OS_TV
  23. @property (nonatomic, strong) RCTTVRemoteHandler *tvRemoteHandler;
  24. @property (nonatomic, strong) UIView *reactPreferredFocusedView;
  25. #endif
  26. - (void)contentViewInvalidated;
  27. @end