mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 03:26:07 +00:00
[Docs] Fix missing : in Swift NativeModules doc
This commit is contained in:
parent
bfdd1d6443
commit
d662a307b7
@ -285,7 +285,7 @@ class CalendarManager: NSObject {
|
||||
}
|
||||
```
|
||||
|
||||
> **NOTE** It is important to use the @objc modifiers to ensure the class and functions are exported properly to the Objective-C runtime.
|
||||
> **NOTE**: It is important to use the @objc modifiers to ensure the class and functions are exported properly to the Objective-C runtime.
|
||||
|
||||
Then create a private implementation file that will register the required information with the React Native bridge:
|
||||
|
||||
@ -300,4 +300,4 @@ RCT_EXTERN_METHOD(addEvent:(NSString *)name location:(NSString *)location date:(
|
||||
@end
|
||||
```
|
||||
|
||||
You can also use `RCT_EXTERN_REMAP_MODULE` and `RCT_EXTERN_REMAP_METHOD` to alter the JavaScript name of the module or methods you are exporting. For more information see [`RCTBridgeModule`](https://github.com/facebook/react-native/blob/master/React/Base/RCTBridgeModule.h).
|
||||
You can also use `RCT_EXTERN_REMAP_MODULE` and `RCT_EXTERN_REMAP_METHOD` to alter the JavaScript name of the module or methods you are exporting. For more information see [`RCTBridgeModule`](https://github.com/facebook/react-native/blob/master/React/Base/RCTBridgeModule.h).
|
||||
|
Loading…
x
Reference in New Issue
Block a user