File tree Expand file tree Collapse file tree
docs/the-new-architecture Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -333,10 +333,10 @@ The ModuleProvider is an Objective-C++ that glues together the Pure C++ module w
333333
3343341 . From Xcode, select the ` SampleApp ` project and press <kbd >⌘</kbd > + <kbd >N</kbd > to create a new file.
3353352 . Select the ` Cocoa Touch Class ` template
336- 3 . Add the name ` SampleNativeModuleProvider ` (keep the other field as ` Subclass of: NSObject ` and ` Language: Objective-C ` )
336+ 3 . Add the name ` NativeSampleModuleProvider ` (keep the other field as ` Subclass of: NSObject ` and ` Language: Objective-C ` )
3373374 . Click Next to generate the files.
338- 5 . Rename the ` SampleNativeModuleProvider .m` to ` SampleNativeModuleProvider .mm` . The ` mm ` extension denotes an Objective-C++ file.
339- 6 . Implement the content of the ` SampleNativeModuleProvider .h` with the following:
338+ 5 . Rename the ` NativeSampleModuleProvider .m` to ` NativeSampleModuleProvider .mm` . The ` mm ` extension denotes an Objective-C++ file.
339+ 6 . Implement the content of the ` NativeSampleModuleProvider .h` with the following:
340340
341341``` objc title="NativeSampleModuleProvider.h"
342342
@@ -354,7 +354,7 @@ NS_ASSUME_NONNULL_END
354354
355355This declares a ` NativeSampleModuleProvider ` object that conforms to the ` RCTModuleProvider ` protocol.
356356
357- 7 . Implement the content of the ` SampleNativeModuleProvider .mm` with the following:
357+ 7 . Implement the content of the ` NativeSampleModuleProvider .mm` with the following:
358358
359359``` objc title="NativeSampleModuleProvider.mm"
360360
You can’t perform that action at this time.
0 commit comments