title: How to pass pointer to a reference as an argument to a function-Objective C
body: <p>In C++ we will pass the pointer to a function as </p>
  
  <pre><code>bool getData(REMOTE_ID msId,RsEvent*&amp; pEvent);
  </code></pre>
  
  <p>How to declare this in Objective C?</p>
  
  <pre><code>// ?
  -(BOOL)getData:(REMOTE_ID)msId withEvent:(RsEvent*)pEvent;
  </code></pre>
  
  <p>But i need to use the pointer to reference (<code>RsEvent*&amp;</code>). I have used only pointer (<code>RsEvent*</code>) as a datatype here.</p>