title: Objective C - incompatible integer to pointer conversion
body: <p>I am new to iOS programming.</p>
  
  <p>I am getting an <code>"Incompatible integer to pointer conversion sending 'int' to parameter of type 'NSString *'"</code> error when I try and run the following code:</p>
  
  <pre><code>- (IBAction)oneToSix {
      int rNumber = arc4random() % 6;
      [result setImage:[UIImage imageNamed: rNumber]];
  }
  </code></pre>