mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fabric: Removing deprecated leftovers from RCTScheduler and RCTSurfacePresenter
Summary: Trivial. We don't use it anymore. Reviewed By: mdvacca Differential Revision: D12876743 fbshipit-source-id: dc979aaea1fef443b8caf2e58d44b0c7aad90246
This commit is contained in:
committed by
Facebook Github Bot
parent
df4521e6c4
commit
e88db99465
@@ -11,7 +11,6 @@
|
||||
#import <React/RCTPrimitives.h>
|
||||
#import <fabric/core/LayoutConstraints.h>
|
||||
#import <fabric/core/LayoutContext.h>
|
||||
#import <fabric/uimanager/FabricUIManager.h>
|
||||
#import <fabric/uimanager/ShadowViewMutation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
@@ -57,10 +56,4 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@end
|
||||
|
||||
@interface RCTScheduler (Deprecated)
|
||||
|
||||
- (std::shared_ptr<facebook::react::FabricUIManager>)uiManager_DO_NOT_USE;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
@@ -97,12 +97,3 @@ private:
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation RCTScheduler (Deprecated)
|
||||
|
||||
- (std::shared_ptr<FabricUIManager>)uiManager_DO_NOT_USE
|
||||
{
|
||||
return _scheduler->getUIManager_DO_NOT_USE();
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
|
||||
#import <React/RCTBridge.h>
|
||||
#import <React/RCTPrimitives.h>
|
||||
#import <fabric/uimanager/FabricUIManager.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@@ -27,12 +26,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
- (instancetype)initWithBridge:(RCTBridge *)bridge;
|
||||
|
||||
/*
|
||||
* Deprecated. Do not use.
|
||||
*/
|
||||
@property (nonatomic) std::function<facebook::react::UIManagerInstaller> uiManagerInstaller;
|
||||
@property (nonatomic) std::function<facebook::react::UIManagerUninstaller> uiManagerUninstaller;
|
||||
|
||||
@end
|
||||
|
||||
@interface RCTSurfacePresenter (Surface)
|
||||
@@ -66,12 +59,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface RCTSurfacePresenter (Deprecated)
|
||||
|
||||
/**
|
||||
* We need to expose `uiManager` for registration
|
||||
* purposes. Eventually, we will move this down to C++ side.
|
||||
*/
|
||||
- (std::shared_ptr<facebook::react::FabricUIManager>)uiManager_DO_NOT_USE;
|
||||
|
||||
/**
|
||||
* Returns a underlying bridge.
|
||||
*/
|
||||
|
||||
@@ -306,11 +306,6 @@ using namespace facebook::react;
|
||||
|
||||
@implementation RCTSurfacePresenter (Deprecated)
|
||||
|
||||
- (std::shared_ptr<FabricUIManager>)uiManager_DO_NOT_USE
|
||||
{
|
||||
return _scheduler.uiManager_DO_NOT_USE;
|
||||
}
|
||||
|
||||
- (RCTBridge *)bridge_DO_NOT_USE
|
||||
{
|
||||
return _bridge;
|
||||
|
||||
Reference in New Issue
Block a user