title: React-Native: Error trying to get in touch with native module in the tutorial
body: <p>Having issue with defining a native module from the tutorial in <a href="https://facebook.github.io/react-native/docs/native-modules-ios.html" rel="noreferrer">https://facebook.github.io/react-native/docs/native-modules-ios.html</a>.</p>
  
  <pre><code>#import "CalendarManager.h"
  #import &lt;React/RCTLog.h&gt;
  
  @implementation CalendarManager
  
  RCT_EXPORT_MODULE();
  
  RCT_EXPORT_METHOD(addEvent: (NSString *)name location: (NSString *)location)
  {
  
  }
  @end
  </code></pre>
  
  <p>It give me the compile error in RCT_EXPORT_METHOD saying</p>
  
  <blockquote>
    <p>"Expected ')'"</p>
  </blockquote>
  
  <p>. 
  and </p>
  
  <blockquote>
    <p>'Type specifier missing, defaults to int' (later also appeared under
    RCT_EXPORT_MODULE)</p>
  </blockquote>