Skip to content
Merged
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
12 changes: 0 additions & 12 deletions packages/react-native/React/Fabric/Surface/RCTFabricSurface.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

NS_ASSUME_NONNULL_BEGIN

@class RCTBridge;
@class RCTSurfaceView;
@class RCTSurfacePresenter;

Expand Down Expand Up @@ -118,15 +117,4 @@ NS_ASSUME_NONNULL_BEGIN

@end

@interface RCTFabricSurface (Deprecated)

/**
* Deprecated. Use `initWithSurfacePresenter:moduleName:initialProperties` instead.
*/
- (instancetype)initWithBridge:(RCTBridge *)bridge
moduleName:(NSString *)moduleName
initialProperties:(NSDictionary *)initialProperties;

@end

NS_ASSUME_NONNULL_END
11 changes: 0 additions & 11 deletions packages/react-native/React/Fabric/Surface/RCTFabricSurface.mm
Original file line number Diff line number Diff line change
Expand Up @@ -300,17 +300,6 @@ - (void)handleContentSizeCategoryDidChangeNotification:(NSNotification *)notific
return *_surfaceHandler;
}

#pragma mark - Deprecated

- (instancetype)initWithBridge:(RCTBridge *)bridge
moduleName:(NSString *)moduleName
initialProperties:(NSDictionary *)initialProperties
{
return [self initWithSurfacePresenter:bridge.surfacePresenter
moduleName:moduleName
initialProperties:initialProperties];
}

- (NSNumber *)rootViewTag
{
return @(_surfaceHandler->getSurfaceId());
Expand Down
7 changes: 0 additions & 7 deletions packages/react-native/React/Modules/RCTSurfacePresenterStub.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,6 @@ NS_ASSUME_NONNULL_BEGIN

@end

@interface RCTBridge (RCTSurfacePresenterStub)

- (id<RCTSurfacePresenterStub>)surfacePresenter;
- (void)setSurfacePresenter:(id<RCTSurfacePresenterStub>)presenter;

@end

@interface RCTBridgeProxy (RCTSurfacePresenterStub)

- (id<RCTSurfacePresenterStub>)surfacePresenter;
Expand Down
5 changes: 0 additions & 5 deletions scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ category RCTBridge(RCTImageLoader) {
public @property (assign, readonly) RCTImageLoader* imageLoader;
}

category RCTBridge(RCTSurfacePresenterStub) {
public virtual id<RCTSurfacePresenterStub> surfacePresenter();
public virtual void setSurfacePresenter:(id<RCTSurfacePresenterStub> presenter);
}

category RCTBridge(RCTUIManager) {
public @property (assign, readonly) RCTUIManager* uiManager;
}
Expand Down
5 changes: 0 additions & 5 deletions scripts/cxx-api/api-snapshots/ReactAppleFrameworksCxx.api
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ category RCTBridge(RCTImageLoader) {
public @property (assign, readonly) RCTImageLoader* imageLoader;
}

category RCTBridge(RCTSurfacePresenterStub) {
public virtual id<RCTSurfacePresenterStub> surfacePresenter();
public virtual void setSurfacePresenter:(id<RCTSurfacePresenterStub> presenter);
}

category RCTBridge(RCTUIManager) {
public @property (assign, readonly) RCTUIManager* uiManager;
}
Expand Down
5 changes: 0 additions & 5 deletions scripts/cxx-api/api-snapshots/ReactAppleNewarchCxx.api
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ category RCTBridge(RCTImageLoader) {
public @property (assign, readonly) RCTImageLoader* imageLoader;
}

category RCTBridge(RCTSurfacePresenterStub) {
public virtual id<RCTSurfacePresenterStub> surfacePresenter();
public virtual void setSurfacePresenter:(id<RCTSurfacePresenterStub> presenter);
}

category RCTBridge(RCTUIManager) {
public @property (assign, readonly) RCTUIManager* uiManager;
}
Expand Down
5 changes: 0 additions & 5 deletions scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ category RCTBridge(RCTImageLoader) {
public @property (assign, readonly) RCTImageLoader* imageLoader;
}

category RCTBridge(RCTSurfacePresenterStub) {
public virtual id<RCTSurfacePresenterStub> surfacePresenter();
public virtual void setSurfacePresenter:(id<RCTSurfacePresenterStub> presenter);
}

category RCTBridge(RCTUIManager) {
public @property (assign, readonly) RCTUIManager* uiManager;
}
Expand Down
Loading