diff --git a/docs/the-new-architecture/pure-cxx-modules.md b/docs/the-new-architecture/pure-cxx-modules.md index 2a259ff04a9..37fa505e53f 100644 --- a/docs/the-new-architecture/pure-cxx-modules.md +++ b/docs/the-new-architecture/pure-cxx-modules.md @@ -333,10 +333,10 @@ The ModuleProvider is an Objective-C++ that glues together the Pure C++ module w 1. From Xcode, select the `SampleApp` project and press + N to create a new file. 2. Select the `Cocoa Touch Class` template -3. Add the name `SampleNativeModuleProvider` (keep the other field as `Subclass of: NSObject` and `Language: Objective-C`) +3. Add the name `NativeSampleModuleProvider` (keep the other field as `Subclass of: NSObject` and `Language: Objective-C`) 4. Click Next to generate the files. -5. Rename the `SampleNativeModuleProvider.m` to `SampleNativeModuleProvider.mm`. The `mm` extension denotes an Objective-C++ file. -6. Implement the content of the `SampleNativeModuleProvider.h` with the following: +5. Rename the `NativeSampleModuleProvider.m` to `NativeSampleModuleProvider.mm`. The `mm` extension denotes an Objective-C++ file. +6. Implement the content of the `NativeSampleModuleProvider.h` with the following: ```objc title="NativeSampleModuleProvider.h" @@ -354,7 +354,7 @@ NS_ASSUME_NONNULL_END This declares a `NativeSampleModuleProvider` object that conforms to the `RCTModuleProvider` protocol. -7. Implement the content of the `SampleNativeModuleProvider.mm` with the following: +7. Implement the content of the `NativeSampleModuleProvider.mm` with the following: ```objc title="NativeSampleModuleProvider.mm" diff --git a/website/versioned_docs/version-0.79/the-new-architecture/pure-cxx-modules.md b/website/versioned_docs/version-0.79/the-new-architecture/pure-cxx-modules.md index 665a980f010..23cc351d132 100644 --- a/website/versioned_docs/version-0.79/the-new-architecture/pure-cxx-modules.md +++ b/website/versioned_docs/version-0.79/the-new-architecture/pure-cxx-modules.md @@ -332,10 +332,10 @@ The ModuleProvider is an Objective-C++ that glues together the Pure C++ module w 1. From Xcode, select the `SampleApp` project and press + N to create a new file. 2. Select the `Cocoa Touch Class` template -3. Add the name `SampleNativeModuleProvider` (keep the other field as `Subclass of: NSObject` and `Language: Objective-C`) +3. Add the name `NativeSampleModuleProvider` (keep the other field as `Subclass of: NSObject` and `Language: Objective-C`) 4. Click Next to generate the files. -5. Rename the `SampleNativeModuleProvider.m` to `SampleNativeModuleProvider.mm`. The `mm` extension denotes an Objective-C++ file. -6. Implement the content of the `SampleNativeModuleProvider.h` with the following: +5. Rename the `NativeSampleModuleProvider.m` to `NativeSampleModuleProvider.mm`. The `mm` extension denotes an Objective-C++ file. +6. Implement the content of the `NativeSampleModuleProvider.h` with the following: ```objc title="NativeSampleModuleProvider.h" @@ -353,7 +353,7 @@ NS_ASSUME_NONNULL_END This declares a `NativeSampleModuleProvider` object that conforms to the `RCTModuleProvider` protocol. -7. Implement the content of the `SampleNativeModuleProvider.mm` with the following: +7. Implement the content of the `NativeSampleModuleProvider.mm` with the following: ```objc title="NativeSampleModuleProvider.mm" diff --git a/website/versioned_docs/version-0.80/the-new-architecture/pure-cxx-modules.md b/website/versioned_docs/version-0.80/the-new-architecture/pure-cxx-modules.md index 665a980f010..23cc351d132 100644 --- a/website/versioned_docs/version-0.80/the-new-architecture/pure-cxx-modules.md +++ b/website/versioned_docs/version-0.80/the-new-architecture/pure-cxx-modules.md @@ -332,10 +332,10 @@ The ModuleProvider is an Objective-C++ that glues together the Pure C++ module w 1. From Xcode, select the `SampleApp` project and press + N to create a new file. 2. Select the `Cocoa Touch Class` template -3. Add the name `SampleNativeModuleProvider` (keep the other field as `Subclass of: NSObject` and `Language: Objective-C`) +3. Add the name `NativeSampleModuleProvider` (keep the other field as `Subclass of: NSObject` and `Language: Objective-C`) 4. Click Next to generate the files. -5. Rename the `SampleNativeModuleProvider.m` to `SampleNativeModuleProvider.mm`. The `mm` extension denotes an Objective-C++ file. -6. Implement the content of the `SampleNativeModuleProvider.h` with the following: +5. Rename the `NativeSampleModuleProvider.m` to `NativeSampleModuleProvider.mm`. The `mm` extension denotes an Objective-C++ file. +6. Implement the content of the `NativeSampleModuleProvider.h` with the following: ```objc title="NativeSampleModuleProvider.h" @@ -353,7 +353,7 @@ NS_ASSUME_NONNULL_END This declares a `NativeSampleModuleProvider` object that conforms to the `RCTModuleProvider` protocol. -7. Implement the content of the `SampleNativeModuleProvider.mm` with the following: +7. Implement the content of the `NativeSampleModuleProvider.mm` with the following: ```objc title="NativeSampleModuleProvider.mm" diff --git a/website/versioned_docs/version-0.81/the-new-architecture/pure-cxx-modules.md b/website/versioned_docs/version-0.81/the-new-architecture/pure-cxx-modules.md index 665a980f010..23cc351d132 100644 --- a/website/versioned_docs/version-0.81/the-new-architecture/pure-cxx-modules.md +++ b/website/versioned_docs/version-0.81/the-new-architecture/pure-cxx-modules.md @@ -332,10 +332,10 @@ The ModuleProvider is an Objective-C++ that glues together the Pure C++ module w 1. From Xcode, select the `SampleApp` project and press + N to create a new file. 2. Select the `Cocoa Touch Class` template -3. Add the name `SampleNativeModuleProvider` (keep the other field as `Subclass of: NSObject` and `Language: Objective-C`) +3. Add the name `NativeSampleModuleProvider` (keep the other field as `Subclass of: NSObject` and `Language: Objective-C`) 4. Click Next to generate the files. -5. Rename the `SampleNativeModuleProvider.m` to `SampleNativeModuleProvider.mm`. The `mm` extension denotes an Objective-C++ file. -6. Implement the content of the `SampleNativeModuleProvider.h` with the following: +5. Rename the `NativeSampleModuleProvider.m` to `NativeSampleModuleProvider.mm`. The `mm` extension denotes an Objective-C++ file. +6. Implement the content of the `NativeSampleModuleProvider.h` with the following: ```objc title="NativeSampleModuleProvider.h" @@ -353,7 +353,7 @@ NS_ASSUME_NONNULL_END This declares a `NativeSampleModuleProvider` object that conforms to the `RCTModuleProvider` protocol. -7. Implement the content of the `SampleNativeModuleProvider.mm` with the following: +7. Implement the content of the `NativeSampleModuleProvider.mm` with the following: ```objc title="NativeSampleModuleProvider.mm" diff --git a/website/versioned_docs/version-0.82/the-new-architecture/pure-cxx-modules.md b/website/versioned_docs/version-0.82/the-new-architecture/pure-cxx-modules.md index 665a980f010..23cc351d132 100644 --- a/website/versioned_docs/version-0.82/the-new-architecture/pure-cxx-modules.md +++ b/website/versioned_docs/version-0.82/the-new-architecture/pure-cxx-modules.md @@ -332,10 +332,10 @@ The ModuleProvider is an Objective-C++ that glues together the Pure C++ module w 1. From Xcode, select the `SampleApp` project and press + N to create a new file. 2. Select the `Cocoa Touch Class` template -3. Add the name `SampleNativeModuleProvider` (keep the other field as `Subclass of: NSObject` and `Language: Objective-C`) +3. Add the name `NativeSampleModuleProvider` (keep the other field as `Subclass of: NSObject` and `Language: Objective-C`) 4. Click Next to generate the files. -5. Rename the `SampleNativeModuleProvider.m` to `SampleNativeModuleProvider.mm`. The `mm` extension denotes an Objective-C++ file. -6. Implement the content of the `SampleNativeModuleProvider.h` with the following: +5. Rename the `NativeSampleModuleProvider.m` to `NativeSampleModuleProvider.mm`. The `mm` extension denotes an Objective-C++ file. +6. Implement the content of the `NativeSampleModuleProvider.h` with the following: ```objc title="NativeSampleModuleProvider.h" @@ -353,7 +353,7 @@ NS_ASSUME_NONNULL_END This declares a `NativeSampleModuleProvider` object that conforms to the `RCTModuleProvider` protocol. -7. Implement the content of the `SampleNativeModuleProvider.mm` with the following: +7. Implement the content of the `NativeSampleModuleProvider.mm` with the following: ```objc title="NativeSampleModuleProvider.mm" diff --git a/website/versioned_docs/version-0.83/the-new-architecture/pure-cxx-modules.md b/website/versioned_docs/version-0.83/the-new-architecture/pure-cxx-modules.md index 2a259ff04a9..37fa505e53f 100644 --- a/website/versioned_docs/version-0.83/the-new-architecture/pure-cxx-modules.md +++ b/website/versioned_docs/version-0.83/the-new-architecture/pure-cxx-modules.md @@ -333,10 +333,10 @@ The ModuleProvider is an Objective-C++ that glues together the Pure C++ module w 1. From Xcode, select the `SampleApp` project and press + N to create a new file. 2. Select the `Cocoa Touch Class` template -3. Add the name `SampleNativeModuleProvider` (keep the other field as `Subclass of: NSObject` and `Language: Objective-C`) +3. Add the name `NativeSampleModuleProvider` (keep the other field as `Subclass of: NSObject` and `Language: Objective-C`) 4. Click Next to generate the files. -5. Rename the `SampleNativeModuleProvider.m` to `SampleNativeModuleProvider.mm`. The `mm` extension denotes an Objective-C++ file. -6. Implement the content of the `SampleNativeModuleProvider.h` with the following: +5. Rename the `NativeSampleModuleProvider.m` to `NativeSampleModuleProvider.mm`. The `mm` extension denotes an Objective-C++ file. +6. Implement the content of the `NativeSampleModuleProvider.h` with the following: ```objc title="NativeSampleModuleProvider.h" @@ -354,7 +354,7 @@ NS_ASSUME_NONNULL_END This declares a `NativeSampleModuleProvider` object that conforms to the `RCTModuleProvider` protocol. -7. Implement the content of the `SampleNativeModuleProvider.mm` with the following: +7. Implement the content of the `NativeSampleModuleProvider.mm` with the following: ```objc title="NativeSampleModuleProvider.mm"