File tree Expand file tree Collapse file tree
version-0.79/the-new-architecture
version-0.80/the-new-architecture
version-0.81/the-new-architecture
version-0.82/the-new-architecture
version-0.83/the-new-architecture Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -332,10 +332,10 @@ The ModuleProvider is an Objective-C++ that glues together the Pure C++ module w
332332
3333331 . From Xcode, select the ` SampleApp ` project and press <kbd >⌘</kbd > + <kbd >N</kbd > to create a new file.
3343342 . Select the ` Cocoa Touch Class ` template
335- 3 . Add the name ` SampleNativeModuleProvider ` (keep the other field as ` Subclass of: NSObject ` and ` Language: Objective-C ` )
335+ 3 . Add the name ` NativeSampleModuleProvider ` (keep the other field as ` Subclass of: NSObject ` and ` Language: Objective-C ` )
3363364 . Click Next to generate the files.
337- 5 . Rename the ` SampleNativeModuleProvider .m` to ` SampleNativeModuleProvider .mm` . The ` mm ` extension denotes an Objective-C++ file.
338- 6 . Implement the content of the ` SampleNativeModuleProvider .h` with the following:
337+ 5 . Rename the ` NativeSampleModuleProvider .m` to ` NativeSampleModuleProvider .mm` . The ` mm ` extension denotes an Objective-C++ file.
338+ 6 . Implement the content of the ` NativeSampleModuleProvider .h` with the following:
339339
340340``` objc title="NativeSampleModuleProvider.h"
341341
@@ -353,7 +353,7 @@ NS_ASSUME_NONNULL_END
353353
354354This declares a ` NativeSampleModuleProvider ` object that conforms to the ` RCTModuleProvider ` protocol.
355355
356- 7 . Implement the content of the ` SampleNativeModuleProvider .mm` with the following:
356+ 7 . Implement the content of the ` NativeSampleModuleProvider .mm` with the following:
357357
358358``` objc title="NativeSampleModuleProvider.mm"
359359
Original file line number Diff line number Diff line change @@ -332,10 +332,10 @@ The ModuleProvider is an Objective-C++ that glues together the Pure C++ module w
332332
3333331 . From Xcode, select the ` SampleApp ` project and press <kbd >⌘</kbd > + <kbd >N</kbd > to create a new file.
3343342 . Select the ` Cocoa Touch Class ` template
335- 3 . Add the name ` SampleNativeModuleProvider ` (keep the other field as ` Subclass of: NSObject ` and ` Language: Objective-C ` )
335+ 3 . Add the name ` NativeSampleModuleProvider ` (keep the other field as ` Subclass of: NSObject ` and ` Language: Objective-C ` )
3363364 . Click Next to generate the files.
337- 5 . Rename the ` SampleNativeModuleProvider .m` to ` SampleNativeModuleProvider .mm` . The ` mm ` extension denotes an Objective-C++ file.
338- 6 . Implement the content of the ` SampleNativeModuleProvider .h` with the following:
337+ 5 . Rename the ` NativeSampleModuleProvider .m` to ` NativeSampleModuleProvider .mm` . The ` mm ` extension denotes an Objective-C++ file.
338+ 6 . Implement the content of the ` NativeSampleModuleProvider .h` with the following:
339339
340340``` objc title="NativeSampleModuleProvider.h"
341341
@@ -353,7 +353,7 @@ NS_ASSUME_NONNULL_END
353353
354354This declares a ` NativeSampleModuleProvider ` object that conforms to the ` RCTModuleProvider ` protocol.
355355
356- 7 . Implement the content of the ` SampleNativeModuleProvider .mm` with the following:
356+ 7 . Implement the content of the ` NativeSampleModuleProvider .mm` with the following:
357357
358358``` objc title="NativeSampleModuleProvider.mm"
359359
Original file line number Diff line number Diff line change @@ -332,10 +332,10 @@ The ModuleProvider is an Objective-C++ that glues together the Pure C++ module w
332332
3333331 . From Xcode, select the ` SampleApp ` project and press <kbd >⌘</kbd > + <kbd >N</kbd > to create a new file.
3343342 . Select the ` Cocoa Touch Class ` template
335- 3 . Add the name ` SampleNativeModuleProvider ` (keep the other field as ` Subclass of: NSObject ` and ` Language: Objective-C ` )
335+ 3 . Add the name ` NativeSampleModuleProvider ` (keep the other field as ` Subclass of: NSObject ` and ` Language: Objective-C ` )
3363364 . Click Next to generate the files.
337- 5 . Rename the ` SampleNativeModuleProvider .m` to ` SampleNativeModuleProvider .mm` . The ` mm ` extension denotes an Objective-C++ file.
338- 6 . Implement the content of the ` SampleNativeModuleProvider .h` with the following:
337+ 5 . Rename the ` NativeSampleModuleProvider .m` to ` NativeSampleModuleProvider .mm` . The ` mm ` extension denotes an Objective-C++ file.
338+ 6 . Implement the content of the ` NativeSampleModuleProvider .h` with the following:
339339
340340``` objc title="NativeSampleModuleProvider.h"
341341
@@ -353,7 +353,7 @@ NS_ASSUME_NONNULL_END
353353
354354This declares a ` NativeSampleModuleProvider ` object that conforms to the ` RCTModuleProvider ` protocol.
355355
356- 7 . Implement the content of the ` SampleNativeModuleProvider .mm` with the following:
356+ 7 . Implement the content of the ` NativeSampleModuleProvider .mm` with the following:
357357
358358``` objc title="NativeSampleModuleProvider.mm"
359359
Original file line number Diff line number Diff line change @@ -332,10 +332,10 @@ The ModuleProvider is an Objective-C++ that glues together the Pure C++ module w
332332
3333331 . From Xcode, select the ` SampleApp ` project and press <kbd >⌘</kbd > + <kbd >N</kbd > to create a new file.
3343342 . Select the ` Cocoa Touch Class ` template
335- 3 . Add the name ` SampleNativeModuleProvider ` (keep the other field as ` Subclass of: NSObject ` and ` Language: Objective-C ` )
335+ 3 . Add the name ` NativeSampleModuleProvider ` (keep the other field as ` Subclass of: NSObject ` and ` Language: Objective-C ` )
3363364 . Click Next to generate the files.
337- 5 . Rename the ` SampleNativeModuleProvider .m` to ` SampleNativeModuleProvider .mm` . The ` mm ` extension denotes an Objective-C++ file.
338- 6 . Implement the content of the ` SampleNativeModuleProvider .h` with the following:
337+ 5 . Rename the ` NativeSampleModuleProvider .m` to ` NativeSampleModuleProvider .mm` . The ` mm ` extension denotes an Objective-C++ file.
338+ 6 . Implement the content of the ` NativeSampleModuleProvider .h` with the following:
339339
340340``` objc title="NativeSampleModuleProvider.h"
341341
@@ -353,7 +353,7 @@ NS_ASSUME_NONNULL_END
353353
354354This declares a ` NativeSampleModuleProvider ` object that conforms to the ` RCTModuleProvider ` protocol.
355355
356- 7 . Implement the content of the ` SampleNativeModuleProvider .mm` with the following:
356+ 7 . Implement the content of the ` NativeSampleModuleProvider .mm` with the following:
357357
358358``` objc title="NativeSampleModuleProvider.mm"
359359
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