Skip to content

Commit 791be55

Browse files
committed
Rename SampleNativeModuleProvider to NativeSampleModuleProvider for history version
1 parent 3a7ecf4 commit 791be55

5 files changed

Lines changed: 20 additions & 20 deletions

File tree

website/versioned_docs/version-0.79/the-new-architecture/pure-cxx-modules.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,10 @@ The ModuleProvider is an Objective-C++ that glues together the Pure C++ module w
332332

333333
1. From Xcode, select the `SampleApp` project and press <kbd>⌘</kbd> + <kbd>N</kbd> to create a new file.
334334
2. 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`)
336336
4. 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

354354
This 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

website/versioned_docs/version-0.80/the-new-architecture/pure-cxx-modules.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,10 @@ The ModuleProvider is an Objective-C++ that glues together the Pure C++ module w
332332

333333
1. From Xcode, select the `SampleApp` project and press <kbd>⌘</kbd> + <kbd>N</kbd> to create a new file.
334334
2. 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`)
336336
4. 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

354354
This 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

website/versioned_docs/version-0.81/the-new-architecture/pure-cxx-modules.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,10 @@ The ModuleProvider is an Objective-C++ that glues together the Pure C++ module w
332332

333333
1. From Xcode, select the `SampleApp` project and press <kbd>⌘</kbd> + <kbd>N</kbd> to create a new file.
334334
2. 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`)
336336
4. 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

354354
This 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

website/versioned_docs/version-0.82/the-new-architecture/pure-cxx-modules.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,10 @@ The ModuleProvider is an Objective-C++ that glues together the Pure C++ module w
332332

333333
1. From Xcode, select the `SampleApp` project and press <kbd>⌘</kbd> + <kbd>N</kbd> to create a new file.
334334
2. 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`)
336336
4. 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

354354
This 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

website/versioned_docs/version-0.83/the-new-architecture/pure-cxx-modules.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -333,10 +333,10 @@ The ModuleProvider is an Objective-C++ that glues together the Pure C++ module w
333333

334334
1. From Xcode, select the `SampleApp` project and press <kbd>⌘</kbd> + <kbd>N</kbd> to create a new file.
335335
2. 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`)
337337
4. 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

355355
This 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

0 commit comments

Comments
 (0)