mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
e0a1a18d4b
commit
46d14ceab2
-30
@@ -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
|
||||
-20
@@ -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];
|
||||
}
|
||||
Reference in New Issue
Block a user