delete RCTHostCreationHelpers (#37703)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37703

Changelog: [Internal]

i did too good of a job refactoring that these functions don't abstract any arguments away anymore, so let's just delete it

Reviewed By: javache

Differential Revision: D46303713

fbshipit-source-id: 7e0508a7296ebc3d5c62cf0824071bd2ef041193
This commit is contained in:
Phillip Pan
2023-06-05 12:31:19 -07:00
committed by Facebook GitHub Bot
parent e0a1a18d4b
commit 46d14ceab2
2 changed files with 0 additions and 50 deletions
@@ -1,30 +0,0 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <React/RCTDefines.h>
#import <UIKit/UIKit.h>
#import "RCTHost.h"
@class RCTHost;
@protocol RCTHostDelegate;
@protocol RCTTurboModuleManagerDelegate;
NS_ASSUME_NONNULL_BEGIN
RCT_EXTERN_C_BEGIN
RCTHost *RCTHostCreateDefault(
NSURL *bundleURL,
id<RCTHostDelegate> hostDelegate,
id<RCTTurboModuleManagerDelegate> turboModuleManagerDelegate,
RCTHostJSEngineProvider jsEngineProvider);
RCT_EXTERN_C_END
NS_ASSUME_NONNULL_END
@@ -1,20 +0,0 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import "RCTHostCreationHelpers.h"
RCTHost *RCTHostCreateDefault(
NSURL *bundleURL,
id<RCTHostDelegate> hostDelegate,
id<RCTTurboModuleManagerDelegate> turboModuleManagerDelegate,
RCTHostJSEngineProvider jsEngineProvider)
{
return [[RCTHost alloc] initWithBundleURL:bundleURL
hostDelegate:hostDelegate
turboModuleManagerDelegate:turboModuleManagerDelegate
jsEngineProvider:jsEngineProvider];
}