title: Objective-C, how to pass char[] to method?
body: <p>I have this method that makes a call to another method. How to I pass the char[] to it instead of having the char[] inside it?</p>
  
  <pre><code>- (IBAction)goThere(id)sender {
  
     // char hex[] = {0xFF, 0xFF, 0x15}; &lt;-- this is what I want to pass to elseWhere
     // NSString *text = "some string";  &lt;-- it would be cool to send other things too.
  
      [self elseWhere];
  }
  
  - (void)elseWhere {
  
  char hex[] = {0xDA, 0xFF, 0x15};
  
  ...
  
  }
  </code></pre>
  
  <p>Ideally I would be able to send char[] from goThere, being able to re-use the char[] as needed, unfortunately i'm not advanced in this. thanks</p>