diff --git a/React/Base/RCTBridgeModule.h b/React/Base/RCTBridgeModule.h index 07116bb80..75908a1b0 100644 --- a/React/Base/RCTBridgeModule.h +++ b/React/Base/RCTBridgeModule.h @@ -83,6 +83,7 @@ RCT_EXTERN void RCTRegisterModule(Class); \ * to bridge features, such as sending events or making JS calls. This * will be set automatically by the bridge when it initializes the module. * To implement this in your module, just add `@synthesize bridge = _bridge;` + * If using Swift, add `@objc var bridge: RCTBridge!` to your module. */ @property (nonatomic, weak, readonly) RCTBridge *bridge;