Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#import <React/RCTUtils.h>
#import "RCTJSRuntimeConfiguratorProtocol.h"

@protocol RCTCxxBridgeDelegate;
@protocol RCTComponentViewFactoryComponentProvider;
@protocol RCTTurboModuleManagerDelegate;
@protocol RCTHostDelegate;
Expand Down
6 changes: 0 additions & 6 deletions packages/react-native/Libraries/Image/RCTImageStoreManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@

@end

@interface RCTBridge (RCTImageStoreManager)

@property (nonatomic, readonly) RCTImageStoreManager *imageStoreManager;

@end

@interface RCTBridgeProxy (RCTImageStoreManager)

@property (nonatomic, readonly) RCTImageStoreManager *imageStoreManager;
Expand Down
6 changes: 0 additions & 6 deletions packages/react-native/Libraries/Network/RCTNetworking.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@

@end

@interface RCTBridge (RCTNetworking)

@property (nonatomic, readonly) RCTNetworking *networking;

@end

@interface RCTBridgeProxy (RCTNetworking)

@property (nonatomic, readonly) RCTNetworking *networking;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ extern NSString *const RCTAccessibilityManagerDidUpdateMultiplierNotification; /

@end

@interface RCTBridge (RCTAccessibilityManager)

@property (nonatomic, readonly) RCTAccessibilityManager *accessibilityManager;

@end

@interface RCTBridgeProxy (RCTAccessibilityManager)

@property (nonatomic, readonly) RCTAccessibilityManager *accessibilityManager;
Expand Down
3 changes: 2 additions & 1 deletion packages/react-native/React/CoreModules/RCTDevMenu.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ typedef NSString * (^RCTDevMenuItemTitleBlock)(void);
*/
@interface RCTBridge (RCTDevMenu)

@property (nonatomic, readonly) RCTDevMenu *devMenu;
@property (nonatomic, readonly) RCTDevMenu *devMenu __deprecated_msg(
"Access RCTDevMenu through the bridge proxy instead; this accessor will be removed.");

@end

Expand Down
6 changes: 0 additions & 6 deletions packages/react-native/React/CoreModules/RCTDevSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,6 @@ typedef void (^RCTConnectedHandler)(void);

@end

@interface RCTBridge (RCTDevSettings)

@property (nonatomic, readonly) RCTDevSettings *devSettings;

@end

@interface RCTBridgeProxy (RCTDevSettings)

@property (nonatomic, readonly) RCTDevSettings *devSettings;
Expand Down
6 changes: 0 additions & 6 deletions packages/react-native/React/CoreModules/RCTWebSocketModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ RCT_EXTERN void RCTSetCustomSRWebSocketProvider(SRWebSocketProvider provider);

@end

@interface RCTBridge (RCTWebSocketModule)

- (RCTWebSocketModule *)webSocketModule;

@end

@interface RCTBridgeProxy (RCTWebSocketModule)

- (RCTWebSocketModule *)webSocketModule;
Expand Down
31 changes: 0 additions & 31 deletions packages/react-native/React/CxxBridge/RCTCxxBridgeDelegate.h

This file was deleted.

9 changes: 0 additions & 9 deletions packages/react-native/React/Modules/RCTUIManager.mm
Original file line number Diff line number Diff line change
Expand Up @@ -220,15 +220,6 @@ - (void)invalidate

@end

@implementation RCTBridge (RCTUIManager)

- (RCTUIManager *)uiManager
{
return [self moduleForClass:[RCTUIManager class]];
}

@end

UIView *RCTPaperViewOrCurrentView(UIView *view)
{
if ([view respondsToSelector:@selector(paperView)]) {
Expand Down
24 changes: 0 additions & 24 deletions scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,10 @@ category RCTBridge(Inspector) {
public @property (assign, readonly) facebook::react::jsinspector_modern::HostTarget* inspectorTarget;
}

category RCTBridge(RCTAccessibilityManager) {
public @property (assign, readonly) RCTAccessibilityManager* accessibilityManager;
}

category RCTBridge(RCTDevMenu) {
public @property (assign, readonly) RCTDevMenu* devMenu;
}

category RCTBridge(RCTDevSettings) {
public @property (assign, readonly) RCTDevSettings* devSettings;
}

category RCTBridge(RCTEventDispatcher) {
public virtual id<RCTEventDispatcherProtocol> eventDispatcher();
}
Expand All @@ -30,14 +22,6 @@ category RCTBridge(RCTImageLoader) {
public @property (assign, readonly) RCTImageLoader* imageLoader;
}

category RCTBridge(RCTImageStoreManager) {
public @property (assign, readonly) RCTImageStoreManager* imageStoreManager;
}

category RCTBridge(RCTNetworking) {
public @property (assign, readonly) RCTNetworking* networking;
}

category RCTBridge(RCTSurfacePresenterStub) {
public virtual id<RCTSurfacePresenterStub> surfacePresenter();
public virtual void setSurfacePresenter:(id<RCTSurfacePresenterStub> presenter);
Expand All @@ -47,10 +31,6 @@ category RCTBridge(RCTUIManager) {
public @property (assign, readonly) RCTUIManager* uiManager;
}

category RCTBridge(RCTWebSocketModule) {
public virtual RCTWebSocketModule* webSocketModule();
}

category RCTBridgeProxy(Cxx) {
public @property (assign) std::shared_ptr<facebook::react::CallInvoker> jsCallInvoker;
}
Expand Down Expand Up @@ -2597,10 +2577,6 @@ protocol RCTCustomRefreshControlProtocol {
public @property (weak) UIScrollView* scrollView;
}

protocol RCTCxxBridgeDelegate : public RCTBridgeDelegate {
public virtual std::unique_ptr<facebook::react::JSExecutorFactory> jsExecutorFactoryForBridge:(RCTBridge* bridge);
}

protocol RCTDebuggingOverlayViewProtocol : public NSObject {
public virtual void clearElementsHighlights();
public virtual void highlightElements:(const NSArray* elements);
Expand Down
24 changes: 0 additions & 24 deletions scripts/cxx-api/api-snapshots/ReactAppleFrameworksCxx.api
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,10 @@ category RCTBridge(Inspector) {
public @property (assign, readonly) facebook::react::jsinspector_modern::HostTarget* inspectorTarget;
}

category RCTBridge(RCTAccessibilityManager) {
public @property (assign, readonly) RCTAccessibilityManager* accessibilityManager;
}

category RCTBridge(RCTDevMenu) {
public @property (assign, readonly) RCTDevMenu* devMenu;
}

category RCTBridge(RCTDevSettings) {
public @property (assign, readonly) RCTDevSettings* devSettings;
}

category RCTBridge(RCTEventDispatcher) {
public virtual id<RCTEventDispatcherProtocol> eventDispatcher();
}
Expand All @@ -30,14 +22,6 @@ category RCTBridge(RCTImageLoader) {
public @property (assign, readonly) RCTImageLoader* imageLoader;
}

category RCTBridge(RCTImageStoreManager) {
public @property (assign, readonly) RCTImageStoreManager* imageStoreManager;
}

category RCTBridge(RCTNetworking) {
public @property (assign, readonly) RCTNetworking* networking;
}

category RCTBridge(RCTSurfacePresenterStub) {
public virtual id<RCTSurfacePresenterStub> surfacePresenter();
public virtual void setSurfacePresenter:(id<RCTSurfacePresenterStub> presenter);
Expand All @@ -47,10 +31,6 @@ category RCTBridge(RCTUIManager) {
public @property (assign, readonly) RCTUIManager* uiManager;
}

category RCTBridge(RCTWebSocketModule) {
public virtual RCTWebSocketModule* webSocketModule();
}

category RCTBridgeProxy(Cxx) {
public @property (assign) std::shared_ptr<facebook::react::CallInvoker> jsCallInvoker;
}
Expand Down Expand Up @@ -2659,10 +2639,6 @@ protocol RCTCustomRefreshControlProtocol {
public @property (weak) UIScrollView* scrollView;
}

protocol RCTCxxBridgeDelegate : public RCTBridgeDelegate {
public virtual std::unique_ptr<facebook::react::JSExecutorFactory> jsExecutorFactoryForBridge:(RCTBridge* bridge);
}

protocol RCTDebuggingOverlayViewProtocol : public NSObject {
public virtual void clearElementsHighlights();
public virtual void highlightElements:(const NSArray* elements);
Expand Down
24 changes: 0 additions & 24 deletions scripts/cxx-api/api-snapshots/ReactAppleNewarchCxx.api
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,10 @@ category RCTBridge(Inspector) {
public @property (assign, readonly) facebook::react::jsinspector_modern::HostTarget* inspectorTarget;
}

category RCTBridge(RCTAccessibilityManager) {
public @property (assign, readonly) RCTAccessibilityManager* accessibilityManager;
}

category RCTBridge(RCTDevMenu) {
public @property (assign, readonly) RCTDevMenu* devMenu;
}

category RCTBridge(RCTDevSettings) {
public @property (assign, readonly) RCTDevSettings* devSettings;
}

category RCTBridge(RCTEventDispatcher) {
public virtual id<RCTEventDispatcherProtocol> eventDispatcher();
}
Expand All @@ -30,14 +22,6 @@ category RCTBridge(RCTImageLoader) {
public @property (assign, readonly) RCTImageLoader* imageLoader;
}

category RCTBridge(RCTImageStoreManager) {
public @property (assign, readonly) RCTImageStoreManager* imageStoreManager;
}

category RCTBridge(RCTNetworking) {
public @property (assign, readonly) RCTNetworking* networking;
}

category RCTBridge(RCTSurfacePresenterStub) {
public virtual id<RCTSurfacePresenterStub> surfacePresenter();
public virtual void setSurfacePresenter:(id<RCTSurfacePresenterStub> presenter);
Expand All @@ -47,10 +31,6 @@ category RCTBridge(RCTUIManager) {
public @property (assign, readonly) RCTUIManager* uiManager;
}

category RCTBridge(RCTWebSocketModule) {
public virtual RCTWebSocketModule* webSocketModule();
}

category RCTBridgeProxy(Cxx) {
public @property (assign) std::shared_ptr<facebook::react::CallInvoker> jsCallInvoker;
}
Expand Down Expand Up @@ -2590,10 +2570,6 @@ protocol RCTCustomRefreshControlProtocol {
public @property (weak) UIScrollView* scrollView;
}

protocol RCTCxxBridgeDelegate : public RCTBridgeDelegate {
public virtual std::unique_ptr<facebook::react::JSExecutorFactory> jsExecutorFactoryForBridge:(RCTBridge* bridge);
}

protocol RCTDebuggingOverlayViewProtocol : public NSObject {
public virtual void clearElementsHighlights();
public virtual void highlightElements:(const NSArray* elements);
Expand Down
24 changes: 0 additions & 24 deletions scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,10 @@ category RCTBridge(Inspector) {
public @property (assign, readonly) facebook::react::jsinspector_modern::HostTarget* inspectorTarget;
}

category RCTBridge(RCTAccessibilityManager) {
public @property (assign, readonly) RCTAccessibilityManager* accessibilityManager;
}

category RCTBridge(RCTDevMenu) {
public @property (assign, readonly) RCTDevMenu* devMenu;
}

category RCTBridge(RCTDevSettings) {
public @property (assign, readonly) RCTDevSettings* devSettings;
}

category RCTBridge(RCTEventDispatcher) {
public virtual id<RCTEventDispatcherProtocol> eventDispatcher();
}
Expand All @@ -30,14 +22,6 @@ category RCTBridge(RCTImageLoader) {
public @property (assign, readonly) RCTImageLoader* imageLoader;
}

category RCTBridge(RCTImageStoreManager) {
public @property (assign, readonly) RCTImageStoreManager* imageStoreManager;
}

category RCTBridge(RCTNetworking) {
public @property (assign, readonly) RCTNetworking* networking;
}

category RCTBridge(RCTSurfacePresenterStub) {
public virtual id<RCTSurfacePresenterStub> surfacePresenter();
public virtual void setSurfacePresenter:(id<RCTSurfacePresenterStub> presenter);
Expand All @@ -47,10 +31,6 @@ category RCTBridge(RCTUIManager) {
public @property (assign, readonly) RCTUIManager* uiManager;
}

category RCTBridge(RCTWebSocketModule) {
public virtual RCTWebSocketModule* webSocketModule();
}

category RCTBridgeProxy(Cxx) {
public @property (assign) std::shared_ptr<facebook::react::CallInvoker> jsCallInvoker;
}
Expand Down Expand Up @@ -2597,10 +2577,6 @@ protocol RCTCustomRefreshControlProtocol {
public @property (weak) UIScrollView* scrollView;
}

protocol RCTCxxBridgeDelegate : public RCTBridgeDelegate {
public virtual std::unique_ptr<facebook::react::JSExecutorFactory> jsExecutorFactoryForBridge:(RCTBridge* bridge);
}

protocol RCTDebuggingOverlayViewProtocol : public NSObject {
public virtual void clearElementsHighlights();
public virtual void highlightElements:(const NSArray* elements);
Expand Down
Loading