Skip to content

Commit 8cbc4dc

Browse files
generatedunixname1899117597419293meta-codesync[bot]
authored andcommitted
fbsource//xplat/js/react-native-github:RCTAppDelegateApple (#55939)
Summary: Pull Request resolved: #55939 Reviewed By: cipolleschi, javache Differential Revision: D95365505 fbshipit-source-id: 4ddad008fcca54972d3b03a3a88d85b78d88e4b3
1 parent 5bd496b commit 8cbc4dc

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

packages/react-native/Libraries/AppDelegate/RCTRootViewFactory.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ typedef void (^RCTLoadSourceForBridgeBlock)(RCTBridge *bridge, RCTSourceLoadBloc
148148
@property (nonatomic, nullable) RCTExtraLazyModuleClassesForBridge extraLazyModuleClassesForBridge;
149149

150150
/**
151-
* The bridge will call this block when a module been called from JS
151+
* The bridge will call this block when a module has been called from JS
152152
* cannot be found among registered modules.
153153
* It should return YES if the module with name 'moduleName' was registered
154154
* in the implementation, and the system must attempt to look for it again among registered.
@@ -173,11 +173,11 @@ typedef void (^RCTLoadSourceForBridgeBlock)(RCTBridge *bridge, RCTSourceLoadBloc
173173

174174
#pragma mark - RCTRootViewFactory
175175
/**
176-
* The RCTRootViewFactory is an utility class that encapsulates the logic of creating a new RCTRootView based on the
176+
* The RCTRootViewFactory is a utility class that encapsulates the logic of creating a new RCTRootView based on the
177177
* current state of the environment. It allows you to initialize your app root view for old architecture, new
178-
* architecture and bridgless mode.
178+
* architecture and bridgeless mode.
179179
*
180-
* This class is used to initalize rootView in RCTAppDelegate, but you can also use it separately.
180+
* This class is used to initialize rootView in RCTAppDelegate, but you can also use it separately.
181181
*
182182
* Create a new instance of this class (make sure to retain it) and call the
183183
* `viewWithModuleName:initialProperties:launchOptions` method to create new RCTRootView.
@@ -194,7 +194,7 @@ typedef void (^RCTLoadSourceForBridgeBlock)(RCTBridge *bridge, RCTSourceLoadBloc
194194
- (instancetype)initWithConfiguration:(RCTRootViewFactoryConfiguration *)configuration;
195195

196196
- (instancetype)initWithTurboModuleDelegate:(id<RCTTurboModuleManagerDelegate>)turboModuleManagerDelegate
197-
hostDelegate:(id<RCTHostDelegate>)hostdelegate
197+
hostDelegate:(id<RCTHostDelegate>)hostDelegate
198198
configuration:(RCTRootViewFactoryConfiguration *)configuration;
199199

200200
/**

packages/react-native/Libraries/AppDelegate/RCTRootViewFactory.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ @implementation RCTRootViewFactory {
103103
}
104104

105105
- (instancetype)initWithTurboModuleDelegate:(id<RCTTurboModuleManagerDelegate>)turboModuleManagerDelegate
106-
hostDelegate:(id<RCTHostDelegate>)hostdelegate
106+
hostDelegate:(id<RCTHostDelegate>)hostDelegate
107107
configuration:(RCTRootViewFactoryConfiguration *)configuration
108108
{
109109
if (self = [super init]) {
110110
_configuration = configuration;
111-
_hostDelegate = hostdelegate;
111+
_hostDelegate = hostDelegate;
112112
_contextContainer = std::make_shared<const facebook::react::ContextContainer>();
113113
_turboModuleManagerDelegate = turboModuleManagerDelegate;
114114
}

0 commit comments

Comments
 (0)