[Docs] Fix missing : in Swift NativeModules doc

This commit is contained in:
Brent Vatne 2015-04-27 23:32:11 -07:00
parent bfdd1d6443
commit d662a307b7

View File

@ -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: 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 @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).