How to emit event from swift view to react native app
<p>I have written custom UIView with UIButton in Swift and bridged it to react native app. The view is shown correctly. Now I want to emit event on button click to react native javascript side. How can I achieve that?</p>

<p>--Edit--</p>

<p>I can't emit event, because <code>var bridge: RCTBridge!</code> is always null.</p>