title: What's the best way to call an IBAction from with-in the code?
body: <p>Say for instance I have an <strong>IBAction</strong> that is hooked up to a <strong>UIButton</strong> in interface builder.  </p>
  
  <pre><code>- (IBAction)functionToBeCalled:(id)sender
  {
     // do something here   
  
  }
  </code></pre>
  
  <p>With-in my code, say for instance in another method, what is the best way to call that <strong>IBAction</strong>?</p>
  
  <p>If I try to call it like this, I receive an error:</p>
  
  <pre><code>[self functionToBeCalled:];
  </code></pre>
  
  <p>But, if I try to call it like this (cheating a bit, I think), it works fine:</p>
  
  <pre><code>[self functionToBeCalled:0];
  </code></pre>
  
  <p>What is the proper way to call it properly?</p>